Type Confusion Vulnerability in PostgreSQL Database Software
CVE-2026-6460
Key Information:
- Vendor
PostgreSQL
- Status
- CVE ID
- CVE ID:
- CVE-2026-6460
- Vendor
- CVE Published:
- 12 November 2026
- Fixed in
- Fixed in:
- 18.7, 17.12, 16.16 +2 more
Timeline
Exploit known 1 day after it was published
- 📈
Vulnerability started trending
- 👾
Exploit known to exist
- 📰
First article discovered by The Hacker News
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Partly: Works over the network, but needs a login
- Partly: Exploitation or a working exploit reported
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
Install the PostgreSQL release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach PostgreSQL. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
Exploitation has been reported, so check logs on exposed PostgreSQL systems for unusual requests or new processes from before you patched.
4Why it's rated "Patch this week"
- Exploitation or a working exploit has been reported.
- Its CVSS severity is high (8.8).
What is CVE-2026-6460?
CVE-2026-6460 is a type confusion vulnerability in PostgreSQL database software. It occurs when a database user can change the type of a composite type while older values are still stored. This mismatch allows the server to read stale values as if they had the new type, enabling the user to execute arbitrary code as the operating system user running PostgreSQL. The flaw can be triggered using a sequence of four SQL statements involving object creation and type alteration.
Versions affected include all PostgreSQL releases prior to 18.7, 17.12, 16.16, 15.20, and 14.25. The vulnerability has been exploited in the wild.
Potential Impact of CVE-2026-6460
-
Arbitrary code execution: An attacker can run arbitrary code on the server with the privileges of the operating system user that runs PostgreSQL.
-
Denial of service: The server may crash when the incorrect output handler is selected, leading to service interruptions.
News Articles
A 22-Year-Old Bug in PostgreSQL Let the Lowest-Privilege User Own the Server
On November 9, PostgreSQL shipped a security release that fixed 52 flaws. The headline one,... Tagged with postgres, security, database, opensource.
3 days ago
PostgreSQL’s Largest Ever Security Release Patches 52 Flaws, Including a 22-Year-Old Bug Any Logged-In User Could Weaponize - IT Security News
The PostgreSQL Global Development Group shipped security updates on November 12 for all five supported major versions, issuing fixes for 52 vulnerabilities at once: the largest security release the project...
3 weeks ago
PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE - SwapUpdate
Swati KhandelwalNov 13, 2026Vulnerability / Database Security
3 weeks ago
References
More PostgreSQL Vulnerabilities
Type Confusion Vulnerability in PostgreSQL Database Management System
Integer Wraparound Vulnerability in PostgreSQL Database Management System
SQL Injection Vulnerability in PostgreSQL pg_dump Affects Specific Versions
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction