CVE-2026-116312

Description

A flaw was found in PostgreSQL. An authenticated database user with table modification privileges can cause automated database rules (AFTER triggers) to process incorrect row data by running a MERGE operation on a partitioned table that inserts records before updating them. This failure to maintain consistent row transition state can result in unintended data modifications and data integrity issues.

Statement

This vulnerability is rated as Moderate impact because exploitation requires an authenticated database user with explicit permissions to modify partitioned tables with AFTER triggers, restricting the blast radius to data integrity anomalies rather than system compromise or privilege escalation. In standard Red Hat deployments, PostgreSQL enforces role-based access control, preventing unprivileged or untrusted users from executing modification queries against restricted tables. Although an authorized user can cause trigger handlers to evaluate improper row transition data during combined insertion and modification actions, the flaw does not facilitate broader host access or credential exposure.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.4N/A5.4
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ALow
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityLowN/ALow
Integrity ImpactLowN/ALow
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Understanding the Weakness (CWE)

Other,Access Control

Technical Impact: Quality Degradation; Gain Privileges or Assume Identity; Unexpected State; Varies by Context

This weakness can cause unintended, always-incorrect behavior. It can lead to additional weaknesses such as allowing an attacker to gain unintended access to system resources.

Frequently Asked Questions

Want to get errata notifications? Sign up here.