CVE-2026-17351: Vulnerability in Pgadmin 4

Critical. The fix for CVE-2026-12045 in pgAdmin 4 9.16 required the LLM-supplied query passed to the AI Assistant's execute_sql_query tool to parse, via sqlparse, as exactly one non-transaction-control statement before running it inside a BEGIN TRANSACTION READ ONLY wrapper. sqlparse's string-literal lexing can disagree with PostgreSQL's own parser: under standard_conforming_strings = on (PostgreSQL's default since 9.1), a...

CWE-89, CWE-115

Exploitation
None confirmed
Severity
9 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-89, CWE-115
Published
31 Jul 2026
Last change
23 Oct 2026

Affected products

Affected versions and the first fixed release

  • Pgadmin 4 From 9.13 before 9.17. Fixed in 9.17

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related