CVE-2026-120148

PostgreSQL extended-statistics pseudo-type confusion executes arbitrary code

Published Nov 12, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Type confusion in PostgreSQL extended statistics allows an object creator to execute arbitrary code as the operating system user running the database, via a statistics expression of an anonymous RECORD type whose backend-local type identifier denotes a different row type in another session. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4905-1 postgresql-15 security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Postgresql
Postgresql postgresql
Vendors & Products Postgresql
Postgresql postgresql
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Description Type confusion in PostgreSQL extended statistics allows an object creator to execute arbitrary code as the operating system user running the database, via a statistics expression of an anonymous RECORD type whose backend-local type identifier denotes a different row type in another session. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.
Title PostgreSQL extended-statistics pseudo-type confusion executes arbitrary code
Weaknesses CWE-843
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Nov 14, 2026, 4:57 AM
Reserved
Oct 30, 2026, 10:45 PM
Status
Awaiting Analysis
Published
Nov 12, 2026, 3:17 PM
Modified
Nov 14, 2026, 5:18 AM
Severity
Important
Public date
Nov 12, 2026, 2:15 PM