CVE-2026-116312
PostgreSQL MERGE can place the wrong row in a trigger transition table
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
Inconsistent transition-capture state in PostgreSQL MERGE allows a table data modifier to make an AFTER trigger process the wrong new row, via a partitioned table MERGE that performs an INSERT before an UPDATE. Within major versions 15-18, minor versions before PostgreSQL 18.7, 17.12, 16.16, and 15.20 are affected. Versions before PostgreSQL 15 are unaffected.
| CWE | CWE-1250 |
| Vendor | n/a |
| Product | postgresql |
| Ecosystems | |
| Industries | Technology |
| Published | Nov 12, 2026 |
Stay Ahead of the Next One
Get instant alerts for n/a postgresql
Be the first to know when new medium vulnerabilities affecting n/a postgresql are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
n/a / PostgreSQL
18 < 18.7 17 < 17.12 16 < 16.16 15 < 15.20
References
Credits
The PostgreSQL project thanks Jacek Bylina, Timothy Ball, Jacob Robertson, Nigel Gott, and Claude and Ada Logics for reporting this problem.