CVE-2026-116316
Published:November 12, 2026
Updated:November 12, 2026
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 Packages
https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_16_BETA1 <REL_16_16Fix Suggestion:
Update to version REL_16_16https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_14_BETA1 <REL_14_25 || >=REL_13_BETA1 <REL_14_25 || >=REL_12_BETA1 <REL_14_25 || >=REL_11_BETA1 <REL_14_25 || >=REL_10_BETA1 <REL_14_25 || >=REL9_6_BETA1 <REL_14_25 || >=REL9_5_ALPHA1 <REL_14_25 || >=REL9_4_BETA1 <REL_14_25 || >=REL9_3_BETA1 <REL_14_25 || >=REL9_2_BETA1 <REL_14_25 || >=REL9_1_ALPHA1 <REL_14_25 || =REL8_5_ALPHA3 <REL_14_25 || >=REL9_0_ALPHA4 <REL_14_25 || >=REL8_4_2 <REL_14_25 || >=REL8_3_9 <REL_14_25 || >=REL8_2_15 <REL_14_25 || >=REL8_1_19 <REL_14_25 || >=REL8_0_23 <REL_14_25 || >=REL7_4_27 <REL_14_25Fix Suggestion:
Update to version REL_14_25https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_18_BETA1 <REL_18_7Fix Suggestion:
Update to version REL_18_7https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_15_BETA1 <REL_15_20Fix Suggestion:
Update to version REL_15_20https://github.com/postgres/postgres.git (GITHUB):
Affected version(s) >=REL_17_BETA1 <REL_17_12Fix Suggestion:
Update to version REL_17_12Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Protection of Alternate Path