SQL injection in PostgreSQL - CVE-2026-15741
Published: August 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL as a superuser.
The vulnerability exists due to SQL injection in EXTRACT() expression deparse when processing a hostile object definition. A remote attacker can create a crafted object definition to execute arbitrary SQL as a superuser.
User interaction is required when a victim uses an expression deparse consumer such as pg_dump, psql \sf, or a similar non-core tool.
Affected software
Debian Linux
postgresql-17 (Debian package)
How to mitigate CVE-2026-15741
postgresql-17 (Debian package) - update to 17.11-0+deb13u1