{"id":"BIT-postgresql-2026-116312","summary":"PostgreSQL MERGE can place the wrong row in a trigger transition table","details":"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.","aliases":["CVE-2026-116312"],"modified":"2026-11-27T06:45:44.641886239Z","published":"2026-11-27T05:52:08.564Z","database_specific":{"cpes":["cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*"],"severity":"Medium"},"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116312"},{"type":"WEB","url":"https://www.postgresql.org/support/security/CVE-2026-116312/"}],"affected":[{"package":{"name":"postgresql","ecosystem":"Bitnami","purl":"pkg:bitnami/postgresql"},"ranges":[{"type":"SEMVER","events":[{"introduced":"15.0.0"},{"fixed":"15.20.0"},{"introduced":"16.0.0"},{"fixed":"16.16.0"},{"introduced":"17.0.0"},{"fixed":"17.12.0"},{"introduced":"18.0.0"},{"fixed":"18.7.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/postgresql/BIT-postgresql-2026-116312.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}],"schema_version":"1.9.2"}