CVE-2026-116312
JSON

5.4medium

PostgreSQL MERGE can place the wrong row in a trigger transition table

Severity
5.4medium CVSS:3.1 by PostgreSQL
Exploit likelihood
0.25% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL
Also known as
BIT-POSTGRESQL-2026-116312

Description

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.

Affected

Product or packageVersionsReported by
PostgreSQLfrom 18 before 18.7, from 17 before 17.12, from 16 before 16.16, from 15 before 15.20CVE List
postgresql (Bitnami)from 15.0.0 before 15.20.0, from 16.0.0 before 16.16.0, from 17.0.0 before 17.12.0, from 18.0.0 before 18.7.0Bitnami Vulnerability Database

All scores

PostgreSQL5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-1250

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-116312 changed 2026-11-17CVE Terms of Use
NVDCVE-2026-116312 changed 2026-11-17Public domain
Bitnami Vulnerability DatabaseBIT-POSTGRESQL-2026-116312 changed 2026-11-27Apache-2.0