Improper Protection of Alternate Path in PostgreSQL - CVE-2026-116316

 

Improper Protection of Alternate Path in PostgreSQL - CVE-2026-116316

Published: November 12, 2026


Vulnerability identifier: #VU166120
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-116316
CWE-ID: CWE-424
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL with the privileges of the caller of a security-restricted operation.

The vulnerability exists due to improper protection of an alternate path in PostgreSQL security-restricted operations when creating types in the temporary schema. A remote user can create a domain, enum, or range type in pg_temp that a later query in the victim session resolves through an unqualified type name, such as SELECT '1'::bigint, to execute arbitrary SQL as the operation's caller.


Affected software

PostgreSQL

How to mitigate CVE-2026-116316

Install security update from vendor's website.

PostgreSQL - addressed in versions 14.25, 15.20, 16.16, 17.12, 18.7

External References

Related Security Bulletins