Vulnerability details

CVE-2026-6460

PostgreSQL

PostgreSQL type confusion after ALTER ... SET DATA TYPE executes arbitrary code

CVSS 3.1
8.8High

Remedy

Versions not listed as affected in the CVE record:
  • PostgreSQL — version 18.7 and later
  • PostgreSQL — version 17.12 and later
  • PostgreSQL — version 16.16 and later
  • PostgreSQL — version 15.20 and later
  • PostgreSQL — version 14.25 and later

Official description

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.

Related news

CVSS scores

ScoreVersionSourceVector
8.8High 3.1 CVEProject cvelistV5 (CNA) (PostgreSQL) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
— PostgreSQL v < 14.25 CVEProject cvelistV5 (CNA)
— PostgreSQL 15 ≤ v < 15.20 CVEProject cvelistV5 (CNA)
— PostgreSQL 16 ≤ v < 16.16 CVEProject cvelistV5 (CNA)
— PostgreSQL 17 ≤ v < 17.12 CVEProject cvelistV5 (CNA)
— PostgreSQL 18 ≤ v < 18.7 CVEProject cvelistV5 (CNA)

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-11-12
Last updated
2026-11-13
State
Published
Assigner (CNA)
PostgreSQL
Kolun priority
25 · Low

Exploit prediction (EPSS)

0.59%
Probability of exploitation in 30 days
48.7%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-843
    Access of Resource Using Incompatible Type ('Type Confusion')