Finding and attribution
On a partitioned-table MERGE that performs an INSERT followed by an UPDATE, inconsistent transition-capture state can cause an AFTER trigger to process the wrong new row.
Product: PostgreSQL core server. AI system: Claude. Team / organization: Anthropic / Ada Logics.
CVE identifiers: CVE-2026-116312.
AI and human contribution (source account): The release notes explicitly credit Jacek Bylina, Timothy Ball, Claude, and Ada Logics. Collaborative reporting is documented; discovery order and exact AI task allocation are not.
Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.
Discovery context: The PostgreSQL security page publicly discloses the issue with the coordinated release. The cited sources do not establish whether exploitation preceded disclosure.
Remediation status: fix documented. Versions before PostgreSQL 18.7, 17.12, 16.16, and 15.20 are affected; versions before 15 are unaffected. Fixed in 18.7, 17.12, 16.16, and 15.20 on 2026-11-12. The release notes state full composite-type protections may require rebuilding C-language extensions; that caveat applies to the composite-type defense family, not automatically every case. Fixed releases do not establish downstream deployment.
A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.
Disclosed 12 Nov 2026. AI attribution dated 12 Nov 2026. Sources checked 16 Nov 2026; these are separate dates, not a live installation check.
Recorded CVSS: Medium · highest recorded score 5.4. Documented technical effects: data modification.
Severity, consequences and exploitation evidence
Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.
- CVE-2026-116312: CVSS 3.0 · 5.4 (Medium) ·
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N. PostgreSQL security advisory · checked 16 Nov 2026.
CVE-2026-116312: data modification.
Prerequisites / affected scope: A user able to perform the relevant partitioned-table MERGE can cause the AFTER trigger to process a different new row than intended..
Exploitation evidence: The advisory describes the incorrect row handling; it does not report exploitation in the wild.. Impact source · checked 16 Nov 2026.
Documented fix: Versions before PostgreSQL 18.7, 17.12, 16.16, and 15.20 are affected; versions before 15 are unaffected. Fixed in 18.7, 17.12, 16.16, and 15.20 on 2026-11-12. The release notes state full composite-type protections may require rebuilding C-language extensions; that caveat applies to the composite-type defense family, not automatically every case. Fixed releases do not establish downstream deployment.