freenode

← CVE tracker

CVE-2026-120153

PostgreSQL extension-script substitutions allow SQL injection through object names

Severity
high CVSS 7.2 (v3.1)
Affects
PostgreSQL · n/a
Weakness
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
12 November 2026 by PostgreSQL
First seen on our lists
12 November 2026
SQL injection in PostgreSQL extension-script substitutions allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via a schema or owner name containing newlines or other special substrings. This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Our coverage

We have not written about this one. Know why it matters? Send a tip.

On the lists