{"id":"BIT-postgresql-2026-120153","summary":"PostgreSQL extension-script substitutions allow SQL injection through object names","details":"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.","aliases":["CVE-2026-120153"],"modified":"2026-11-27T06:45:45.153762592Z","published":"2026-11-27T05:52:43.156Z","database_specific":{"severity":"High","cpes":["cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"]},"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120153"},{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2026-120153/"}],"affected":[{"package":{"name":"postgresql","ecosystem":"Bitnami","purl":"pkg:bitnami/postgresql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"14.25.0"},{"introduced":"15.0.0"},{"fixed":"15.20.0"},{"introduced":"16.0.0"},{"fixed":"16.16.0"},{"introduced":"17.0.0"},{"fixed":"17.12.0"},{"introduced":"18.0.0"},{"fixed":"18.7.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/postgresql/BIT-postgresql-2026-120153.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.9.2"}