Skip to content
Threat Feed
high advisory

PostgreSQL: Arbitrary code execution via plpgsql record-field type confusion (CVE-2026-120151)

A type confusion vulnerability in PostgreSQL plpgsql record-field assignment allows an object creator to execute arbitrary code as the operating system user running the database.

CVE search metadata

CVE search record: CVE-2026-120151. Severity: high. CVSS: 8.8. KEV: no. Product: PostgreSQL. Brief: PostgreSQL: Arbitrary code execution via plpgsql record-field type confusion (CVE-2026-120151). Brief link: https://feed.craftedsignal.io/briefs/2026-11-postgresql-type-confusion-cve-2026-120151/

Triage facts

Revision 1
Applicability
PostgreSQL
Evidence
Unknown
Severity
High
Sources
1 public source
Freshness
Revision 1Nov 12, 16:58 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

CVE-2026-120151 describes a type confusion vulnerability in the PostgreSQL plpgsql language implementation. An object creator can execute arbitrary code as the operating system user running the database via a reentrant domain CHECK that changes a RECORD variable's row type while a value is being cast.