# CVE-2026-120148 - PostgreSQL extended-statistics pseudo-type confusion executes arbitrary code

DevFeed: [CVE-2026-120148 - PostgreSQL extended-statistics pseudo-type confusion executes arbitrary code](<https://devfeed.tech/articles/cve-2026-120148-postgresql-extended-statistics-pseudo-type-confusion-executes-arbitrary-code-130520.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-120148>)

Author: CVEFEED.io

Published: 2026-11-12T15:17:43Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [cve-2026-120148](<https://devfeed.tech/tags/cve-2026-120148.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>)

## AI overview

PostgreSQL extended-statistics type confusion can let an object creator execute arbitrary code with the operating-system privileges of the database process. The described mechanism is an extended-statistics expression using an anonymous RECORD type whose backend-local type identifier can refer to a different row type in another session. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected. The excerpt lists severity 8.1 (High) and says remote exploitation is not indicated.

## Source excerpt

CVE ID :CVE-2026-120148 Published : Nov. 12, 2026, 3:17 p.m. | 2 hours, 6 minutes ago 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. Severity: 8.1 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...