CVE-2026-6467
published high CVSS 3.1 · 7.2PostgreSQL extension script schema mishandling executes arbitrary SQL
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 | Not required | 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
Uncontrolled search path element in PostgreSQL CREATE EXTENSION allows an attacker with database-level CREATE privilege to execute arbitrary code as the bootstrap superuser, via ALTER SCHEMA ... RENAME or CREATE EXTENSION ... SCHEMA "$user". ALTER EXTENSION was also affected. A trusted-extension script located the wrong object and executed arbitrary SQL of the attacker's choice. 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-427 Uncontrolled Search Path Element
References
1Provider assertions
2PostgreSQL · cna
PostgreSQL extension script schema mishandling executes arbitrary SQL
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 039f7503471cec9b274c9e01b836459ddc6f8790ab232cea4ae5adff5db21851
- Ingested
- 13 Nov 2026, 05:15:24 UTC
- Source record
- Official CVE record