CVE-2026-120153
published high CVSS 3.1 · 7.2PostgreSQL extension-script substitutions allow SQL injection through object names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | PostgreSQL18 to < 18.7 · 17 to < 17.12 · 16 to < 16.16 · 15 to < 15.20 · 0 to < 14.25 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
| Amazon Linux | AL2 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2POSTGRESQL14-2026-026 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3482 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3485 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Debian | bookworm | postgresql-15 | Advisory build | 15.20-0+deb12u1 | DLA-4905-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3486 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3487 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | postgresqlaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Red Hat Enterprise Linux | RHEL-10 | postgresqlaarch64 | Advisory build | 16.16-1.el10_3 | RHSA-2026:104964 |
| Alpine Linux | edge | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql15 | Fixed | 15.20-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.21 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql15 | Fixed | 15.20-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.22 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.23 | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql16 | Fixed | 16.16-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql17 | Fixed | 17.12-r0 | Package fix record |
| Alpine Linux | v3.24 | postgresql18 | Fixed | 18.7-r0 | Package fix record |
| Debian | trixie | postgresql-17 | Advisory build | 17.12-0+deb13u1 | DSA-6625-1 |
| Oracle Linux | 10 | postgresqlx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-contribaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-contribx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-docsaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-docsx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-plperlaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-plperlx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-plpython3aarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-plpython3x86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-pltclaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-pltclx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-private-develaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-private-develx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-private-libsaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-private-libsx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-serveraarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-serverx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-server-develaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-server-develx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-staticaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-staticx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-testaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-testx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-test-rpm-macrosaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-test-rpm-macrosx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-upgradeaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-upgradex86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-upgrade-develaarch64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 10 | postgresql-upgrade-develx86_64 | Advisory build | 0:16.16-1.0.1.el10_3 | ELSA-2026-104964 |
| Oracle Linux | 9 | pg_repackaarch64 · postgresql · 18b | Advisory build | 0:1.5.3-1.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | pg_repackx86_64 · postgresql · 18b | Advisory build | 0:1.5.3-1.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | pgauditaarch64 · postgresql · 18b | Advisory build | 0:18.0-1.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | pgauditx86_64 · postgresql · 18b | Advisory build | 0:18.0-1.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | pgvectoraarch64 · postgresql · 18b | Advisory build | 0:0.8.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | pgvectorx86_64 · postgresql · 18b | Advisory build | 0:0.8.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgisaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgisx86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-clientaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-clientx86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-docsaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-docsx86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-upgradeaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-upgradex86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-utilsaarch64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgis-utilsx86_64 · postgresql · 18b | Advisory build | 0:3.6.1-4.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgres-decoderbufsaarch64 · postgresql · 18b | Advisory build | 0:3.3.1-1.Final.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | postgres-decoderbufsx86_64 · postgresql · 18b | Advisory build | 0:3.3.1-1.Final.module+el9.8.0+90922+3defa420 | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresqlaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresqlx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-contribaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-contribx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-docsaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-docsx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-plperlaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-plperlx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-plpython3aarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-plpython3x86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-pltclaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-pltclx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-private-develaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-private-develx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-private-libsaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-private-libsx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-serveraarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-serverx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-server-develaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-server-develx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-staticaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-staticx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-testaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-testx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-test-rpm-macrosaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-test-rpm-macrosx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-upgradeaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-upgradex86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-upgrade-develaarch64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Oracle Linux | 9 | postgresql-upgrade-develx86_64 · postgresql · 18b | Advisory build | 0:18.7-1.module+el9.9.0+91160+8935205b | ELSA-2026-104854 |
| Red Hat Enterprise Linux | RHEL-10 | postgresqlppc64le | Advisory build | 16.16-1.el10_3 | RHSA-2026:104964 |
| Red Hat Enterprise Linux | RHEL-10 | postgresqls390x | Advisory build | 16.16-1.el10_3 | RHSA-2026:104964 |
| Red Hat Enterprise Linux | RHEL-10 | postgresqlx86_64 | Advisory build | 16.16-1.el10_3 | RHSA-2026:104964 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql-contribaarch64 | Advisory build | 16.16-1.el10_3 | RHSA-2026:104964 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql-contribppc64le | Advisory build | 16.16-1.el10_3 | RHSA-2026:104964 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | PostgreSQL | 18 to < 18.7 (affected · rpm)17 to < 17.12 (affected · rpm)16 to < 16.16 (affected · rpm)15 to < 15.20 (affected · rpm)0 to < 14.25 (affected · rpm)Default: unaffected | PostgreSQL · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
1Provider assertions
2PostgreSQL · cna
PostgreSQL extension-script substitutions allow SQL injection through object names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 531b72a157a9207d3bc73834b5b4b0373e27381d2702b4b498c7dc65d873219c
- Ingested
- 13 Nov 2026, 05:15:24 UTC
- Source record
- Official CVE record