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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | PostgreSQL | 18 – < 18.7, 17 – < 17.12, 16 – < 16.16, 15 – < 15.20, < 14.25 | 18.7 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | postgresql-18 | No fix yet | — |
| Debian 13 | postgresql-17 | 17.12-0+deb13u1 | — |
| Debian 12 | postgresql-15 | 15.20-0+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | postgresql-18 | No fix yet | — |
| Ubuntu 26.04 LTS | postgresql-18 | No fix yet | — |
| Ubuntu 24.04 LTS | postgresql-16 | No fix yet | — |
| Ubuntu 22.04 LTS | postgresql-14 | No fix yet | — |
| Ubuntu 20.04 LTS | postgresql-12 | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | postgresql-10 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | postgresql-9.5 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | postgresql-9.3 | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | postgresql14 | 14.25-1.1 | openSUSE-SU-2026:12550-1 |
| openSUSE Tumbleweed | postgresql15 | 15.20-1.1 | openSUSE-SU-2026:12551-1 |
| openSUSE Tumbleweed | postgresql16 | 16.16-1.1 | openSUSE-SU-2026:12552-1 |
| openSUSE Tumbleweed | postgresql17 | 17.12-1.1 | openSUSE-SU-2026:12553-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | postgresql16 | 16.16-r0 | — |
| Alpine v3.24 | postgresql17 | 17.12-r0 | — |
| Alpine v3.24 | postgresql18 | 18.7-r0 | — |
| Alpine v3.23 | postgresql16 | 16.16-r0 | — |
| Alpine v3.23 | postgresql17 | 17.12-r0 | — |
| Alpine v3.23 | postgresql18 | 18.7-r0 | — |
| Alpine v3.22 | postgresql15 | 15.20-r0 | — |
| Alpine v3.22 | postgresql16 | 16.16-r0 | — |
| Alpine v3.22 | postgresql17 | 17.12-r0 | — |
| Alpine v3.21 | postgresql15 | 15.20-r0 | — |
| Alpine v3.21 | postgresql16 | 16.16-r0 | — |
| Alpine v3.21 | postgresql17 | 17.12-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | postgresql | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
chor4o/CVE-2026-6460-POC ★ 1 · Nov 13, 2026
-
slabbdev/postgresql-type-confusion-cve-2026-6460 ★ 0 · Nov 13, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 5
- openSUSE-SU-2026:12550-1 postgresql14-14.25-1.1 on GA media SUSE / openSUSE Security Updates · Nov 14, 2026
- openSUSE-SU-2026:12553-1 postgresql17-17.12-1.1 on GA media SUSE / openSUSE Security Updates · Nov 14, 2026
- openSUSE-SU-2026:12552-1 postgresql16-16.16-1.1 on GA media SUSE / openSUSE Security Updates · Nov 14, 2026
- openSUSE-SU-2026:12551-1 postgresql15-15.20-1.1 on GA media SUSE / openSUSE Security Updates · Nov 14, 2026
- WID-SEC-2026-4571 PostgreSQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026