{"id":"CVE-2026-120153","published":"2026-11-12T14:15:29Z","modified":"2026-11-13T05:02:37Z","title":"PostgreSQL extension-script substitutions allow SQL injection through object names","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00436,"percentile":0.3868,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-120153/","tags":[]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":7.74},{"name":"CVSS severity","points":5.04}]},"affectedVersions":[{"vendor":"n/a","product":"PostgreSQL","versions":[">= 18, < 18.7",">= 17, < 17.12",">= 16, < 16.16",">= 15, < 15.20","< 14.25"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-11-12T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124427","exploited":false,"provenance":"source"},"lineage":{"parents":[{"from":"CVE-2023-39417","to":"CVE-2026-120153","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is similar to CVE-2023-39417, but it requires a non-bundled extension with a vulnerable script pattern.","from":"CVE.org","in":"CVE-2026-120153"}]}]}}