{"id":"CVE-2026-120148","aliases":["CVE-2026-120148","BIT-POSTGRESQL-2026-120148"],"related":[],"kind":"vulnerability","state":"published","title":"PostgreSQL extended-statistics pseudo-type confusion executes arbitrary code","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-12T14:15:25.724Z","modified":"2026-11-27T06:45:43.141Z","severity":{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"PostgreSQL","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"rpm","introduced":"18","fixed":"18.7","status":"affected"},{"type":"rpm","introduced":"17","fixed":"17.12","status":"affected"},{"type":"rpm","introduced":"16","fixed":"16.16","status":"affected"},{"type":"rpm","introduced":"15","fixed":"15.20","status":"affected"},{"type":"rpm","introduced":"0","fixed":"14.25","status":"affected"}],"product":"PostgreSQL","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"14.25.0"},{"type":"semver","introduced":"15.0.0","status":"affected","fixed":"15.20.0"},{"type":"semver","introduced":"16.0.0","status":"affected","fixed":"16.16.0"},{"type":"semver","introduced":"17.0.0","status":"affected","fixed":"17.12.0"},{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.7.0"}],"ecosystem":"Bitnami","package":"postgresql","purl":"pkg:bitnami/postgresql","source":"bitnami"}],"references":[{"url":"https://www.postgresql.org/support/security/CVE-2026-120148/","tags":["web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120148","tags":["web"],"sources":["bitnami"]}],"credits":["The PostgreSQL project thanks Mehmet D. INCE for reporting this problem."],"assigner":"PostgreSQL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-13T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120148","url":"https://www.cve.org/CVERecord?id=CVE-2026-120148","licence":"CVE Terms of Use","modified":"2026-11-14T04:57:42.566Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120148","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120148","licence":"Public domain","modified":"2026-11-14T05:18:30.587Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-POSTGRESQL-2026-120148","url":"https://osv.dev/vulnerability/BIT-POSTGRESQL-2026-120148","licence":"Apache-2.0","modified":"2026-11-27T06:45:43.141Z"}],"updatedAt":"2026-11-27T07:07:13.286Z","epss":{"score":0.0044,"percentile":0.39992,"date":"2026-12-01T12:00:22.000Z"}}