Input validation error in PostgreSQL - CVE-2026-116312

 

Input validation error in PostgreSQL - CVE-2026-116312

Published: November 12, 2026


Vulnerability identifier: #VU166124
CSH Severity: Low
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-116312
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause an AFTER trigger to process the wrong new row, potentially exposing or incorrectly modifying data through trigger behavior.

The vulnerability exists due to inconsistent transition-capture state in PostgreSQL MERGE when processing a partitioned table MERGE that performs an INSERT before an UPDATE. A remote user can perform this sequence on a table they can modify to place the wrong new row in a trigger transition table and cause incorrect AFTER trigger processing.


Affected software

PostgreSQL

How to mitigate CVE-2026-116312

Install security update from vendor's website.

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

External References

Related Security Bulletins