Type Confusion Vulnerability in PostgreSQL Database Software

Patch this weekFull system takeover over the network by a logged-in user.
8.8HIGH

CVE-2026-6460

Key Information:

Vendor

PostgreSQL

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

📈 Trended📈 Score: 8,240👾 Exploit Exists📰 News Worthy

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
PostgreSQL 18 to below 18.7 is vulnerable
PostgreSQL 17 to below 17.12 is vulnerable
PostgreSQL 16 to below 16.16 is vulnerable
PostgreSQL 15 to below 15.20 is vulnerable
PostgreSQL 0 to below 14.25 is vulnerable

Install the PostgreSQL release that fixes your version line, or later:

18.717.1216.1615.2014.25
Read the vendor advisory ↗
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

  1. Arbitrary code execution: An attacker can run arbitrary code on the server with the privileges of the operating system user that runs PostgreSQL.

  2. Denial of service: The server may crash when the incorrect output handler is selected, leading to service interruptions.

News Articles

favicon imageDev Community

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

favicon imageIt Security News

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

favicon imageSwapupdate

PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE - SwapUpdate

Swati KhandelwalNov 13, 2026Vulnerability / Database Security

3 weeks ago

References

Type Confusion Vulnerability in PostgreSQL Database Management System

CVE-2026-116331
PostgreSQLPostgresql😄👾8.8HIGH

Integer Wraparound Vulnerability in PostgreSQL Database Management System

CVE-2026-116328
PostgreSQLPostgresql8.8HIGH

SQL Injection Vulnerability in PostgreSQL pg_dump Affects Specific Versions

CVE-2026-116318
PostgreSQLPostgresql8.8HIGH
View more PostgreSQL vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
8.8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

The PostgreSQL project thanks Andrew Gierth, Alexander Lakhin, Francesco Verardi, Hcamael, Tomer Fichman, OpenAI Security Research Team, Mehmet Ince @mdisec, Bryan Green, Sumedh Pathak, Nicholas Carlini, Sergey Shinderuk, Yuxiao Guo, Nikhil Sontakke, Stephan Lipp, and Daniel Bakker for reporting this problem.
.