SQL Injection Vulnerability in pgAdmin 4 by pgAdmin Team
CVE-2026-17351
What is CVE-2026-17351?
A serious SQL injection vulnerability exists in pgAdmin 4 versions 9.13 to 9.16. This security flaw occurs due to the misalignment in parsing SQL queries between sqlparse and PostgreSQL. When specific payloads are executed via the AI Assistant's execute_sql_query tool, it can trick the system into bypassing read-only transactions. Consequently, an attacker can smuggle multiple SQL commands through what appears to be a single command, potentially compromising the integrity of the database operations. A proper fix is implemented to enforce the use of the extended query protocol, ensuring that such exploits are mitigated by rejecting multi-command inputs. Administrators are encouraged to upgrade their pgAdmin installations to the latest versions to secure their systems against this vulnerability.
Affected Version(s)
pgAdmin 4 9.13 < 9.17
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
