CVE-2026-116316
JSON

8.8high

PostgreSQL security-restricted operations can create types in pg_temp, which later queries of the session find

Severity
8.8high CVSS:3.1 by PostgreSQL
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-POSTGRESQL-2026-116316

Description

Improper protection of alternate path in PostgreSQL security-restricted operations allows an object creator to execute arbitrary SQL as the operation's caller, via a domain, enum, or range type created in pg_temp. The victim session must later run a query containing an unqualified type name, e.g. "SELECT '1'::bigint"; autovacuum and other common security-restricted operation users do not do so, so they are unaffected. Versions before PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 are affected.

Affected

Product or packageVersionsReported by
PostgreSQLfrom 18 before 18.7, from 17 before 17.12, from 16 before 16.16, from 15 before 15.20, before 14.25CVE List
postgresql (Bitnami)before 14.25.0, from 15.0.0 before 15.20.0, from 16.0.0 before 16.16.0, from 17.0.0 before 17.12.0, from 18.0.0 before 18.7.0Bitnami Vulnerability Database

All scores

PostgreSQL8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-424

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-116316 changed 2026-11-13CVE Terms of Use
NVDCVE-2026-116316 changed 2026-11-13Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2026-116316 changed 2026-11-27Apache-2.0