P2 · HighCVSS 7.2EPSS 0.4%
PostgreSQL extension-script substitutions allow SQL injection through object names
- CVE-2026-120153
- GHSA-w429-xmhm-p6jc
- EUVD-2026-124427
Description
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.
Text from the CVE.org record.
Recommendation
Cvelo has no version information for this record. Check the vendor advisory.
Affected
No source names an affected product or package.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.