SQL injection in PostgreSQL - CVE-2026-120153
Published: November 12, 2026
Vulnerability details
The vulnerability allows a remote privileged user to execute arbitrary code as the bootstrap superuser.
The vulnerability exists due to improper neutralization of SQL syntax in PostgreSQL extension-script substitutions when incorporating schema or owner names into extension scripts. A remote privileged user can use database-level CREATE privilege to supply a schema or owner name containing newlines or other special substrings to inject SQL and execute arbitrary code as the bootstrap superuser.
Exploitation requires a non-bundled extension with a vulnerable script pattern.