Type Confusion Vulnerability in PostgreSQL Database
CVE-2026-120148

8.1HIGH

Key Information:

Vendor

PostgreSQL

Vendor
CVE Published:
12 November 2026

What is CVE-2026-120148?

A type confusion vulnerability exists in PostgreSQL's handling of extended statistics, potentially allowing an attacker to execute arbitrary code as the database's operating system user. This results from a flaw in evaluating statistics expressions of an anonymous RECORD type, leading to permission escalation across different sessions. Users are advised to update to PostgreSQL version 18.7, 17.12, 16.16, 15.20, or 14.25 to mitigate this risk.

Affected Version(s)

PostgreSQL 18 < 18.7

PostgreSQL 17 < 17.12

PostgreSQL 16 < 16.16

References

CVSS V3.1

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

The PostgreSQL project thanks Mehmet D. INCE for reporting this problem.
.