CVE-2026-6460 json
PostgreSQL type confusion after ALTER ... SET DATA TYPE executes arbitrary code
published 2d ago modified 2d ago also EUVD-2026-124433
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
Type confusion in PostgreSQL allows an object creator to execute arbitrary code as the operating system user running the database, via ALTER ... SET DATA TYPE primarily. Other DDL attack routes exist, such as "ALTER TABLE ... ADD COLUMN; ROLLBACK; ALTER TABLE ... ADD COLUMN". The system had inadequate tracking of typed values, and values were not self-identifying. Stale values could appear in data dictionary entries, PL/pgSQL variables, and many other parts of the system. PostgreSQL Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Patch / fix
- n/a PostgreSQL 14.25, 15.20, 16.16, 17.12, 18.7
- postgresql-15 Debian 12 15.20-0+deb12u1
- postgresql-17 Debian 13 17.12-0+deb13u1
debian advisories DEBIAN-CVE-2026-6460
- postgresql14 openSUSE Tumbleweed 14.25-1.1
- postgresql15 openSUSE Tumbleweed 15.20-1.1
- postgresql16 openSUSE Tumbleweed 16.16-1.1
- postgresql17 openSUSE Tumbleweed 17.12-1.1
opensuse advisories openSUSE-SU-2026:12550-1openSUSE-SU-2026:12551-1openSUSE-SU-2026:12552-1openSUSE-SU-2026:12553-1
- postgresql15 Alpine 3.22, Alpine 3.21 15.20-r0
- postgresql16 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 16.16-r0
- postgresql17 Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 17.12-r0
- postgresql18 Alpine 3.24, Alpine 3.23 18.7-r0
alpine advisories ALPINE-CVE-2026-6460
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2026-6460 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-6460 updated cvss 8.8
postgresql: postgresql: Arbitrary code execution via type confusion in data definition commands
-
Red Hat Hardened Images postgresql18, postgresql17 17.11-1.2.hum1affected: workaround, no fix available
-
Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-central-db-rhel8, advanced-cluster-security/rhacs-central-db-rhel9, advanced-cluster-security/rhacs-scanner-db-rhel8, advanced-cluster-security/rhacs-scanner-db-rhel9, advanced-cluster-security/rhacs-scanner-v4-db-rhel8, advanced-cluster-security/rhacs-scanner-v4-db-rhel9, +2 more Red Hat Advanced Cluster Security 5 advanced-cluster-security/rhacs-central-db-rhel9, advanced-cluster-security/rhacs-scanner-v4-db-rhel9 Red Hat Enterprise Linux 6 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +2 more Red Hat Enterprise Linux 7 postgresql, postgresql-libs, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, +3 more Red Hat Enterprise Linux 8 pgaudit, pg_repack, postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, +11 more Red Hat Enterprise Linux 9 postgresql, postgresql-test, postgresql-pltcl, postgresql-plperl, postgresql-server, postgresql-contrib, +8 moreunder investigation
+3 more productsfewer
Red Hat Enterprise Linux 10 postgresql16, postgresql18, postgresql19, rhel10/postgresql-16, rhel10/postgresql-18 Red Hat Hardened Images hi/postgresql Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9 -
Red Hat Hardened Images libpq 18.7-0.1.hum1fixed: vendor fix RHSA-2026:99821
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 3d ago
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-14).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- n/a PostgreSQL
Classification
- Weakness
-
- CWE-843 Access of Resource Using Incompatible Type
References
Sources
- CVE List CVE-2026-6460
- NVD CVE-2026-6460
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.