CVE-2026-120148 – Extended-statistics pseudo-type confusion executes arbitrary code

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.


Vulnerability Information

  • Product / Framework: PostgreSQL Core
  • Vendor Domain: www.postgresql.org
  • Vulnerability Type: RCE
  • CVE Details: View Full CVE Details →