Lucene search
+L

CVE-2026-17351

🗓️ 31 Jul 2026 16:00:19Reported by PostgreSQLType 
cve
 cve
🔗 web.nvd.nist.gov👁 127 Views🌐 WEB

pgAdmin 4 read-only transaction bypass from sqlparse vs PostgreSQL lexing; fix by setting prepare_threshold to 0.

Related
Detection
Affected
Refs
Paths
NVD
Node
pgadminpgadmin_4Range9.13–9.17postgresql
[
  {
    "vendor": "pgadmin.org",
    "product": "pgAdmin 4",
    "repo": "https://github.com/pgadmin-org/pgadmin4",
    "modules": [
      "AI Assistant",
      "LLM Tools"
    ],
    "programFiles": [
      "https://github.com/pgadmin-org/pgadmin4/blob/master/web/pgadmin/llm/tools/database.py"
    ],
    "versions": [
      {
        "status": "affected",
        "version": "9.13",
        "lessThan": "9.17",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
ParameterPositionPathDescriptionCWE
queryrequest body/execute_sql_queryThe AI Assistant's execute_sql_query tool is vulnerable to SQL injection via a lexer differential. An attacker can bypass the sqlparse validation by using backslashes to smuggle multiple statements (e.g., COMMIT, CREATE TABLE) into a single SELECT statement.CWE-115, CWE-89

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

05 Aug 2026 20:07Current
8.1High risk
Vulners AI Score8.1
CVSS 3.19
CVSS 49.4
EPSS0.00658
SSVC
127