CVE-2026-116316: PostgreSQL security-restricted operations can create types in pg_temp, which later queries of the session find
- Is it exploited?
Not on CISA's list. CISA has not added it to the Known Exploited Vulnerabilities catalog as of . If CISA adds it, this page shows it as known exploited.
- How likely is exploitation in the next 30 days?
Not yet scored. FIRST's EPSS model has no score for this record as of .
- How severe?
- 8.8 High
CVSS v3.1 base score, given by the CNA
- What should I do?
CISA has set no required action, because the vulnerability is not in KEV.
No patch or vendor advisory is listed in the CVE record. Check PostgreSQL's advisories.
- Which versions are affected?
Affected
- from 18 to before 18.7
- from 17 to before 17.12
- from 16 to before 16.16
- from 15 to before 15.20
- before 14.25
Source: CISA KEV 2026.11.10, as of ; FIRST EPSS, as of ; CVE List, as of . About the data.
Description
PostgreSQL security-restricted operations can create types in pg_temp, which later queries of the session find
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.
Source: CVE List, as of . About the data.
What to do
Advisories and patches
No patch, vendor advisory or mitigation is listed in the CVE record. Check PostgreSQL's own security advisories for a fix, and compare your version with the affected versions below.
This summary is based on the CVE record as of . Check the vendor's advisory before you act: affected versions and fixes can change.
Affected products and versions
Versions by product, as listed in the CVE record (1 product)
| Status | Versions |
|---|---|
| Affected | from 18 to before 18.7 |
| Affected | from 17 to before 17.12 |
| Affected | from 16 to before 16.16 |
| Affected | from 15 to before 15.20 |
| Affected | before 14.25 |
Versions not listed are: unaffected.
Source: CVE List, as of . About the data.
Weakness
CWE-424
CWE and CAPEC are maintained by MITRE; the entries are those named in the CVE record.
Timeline
| Date | Event |
|---|---|
| CVE record published |