CVE-2023-39418

published 11 Aug 2023 · updated 7 Nov 2026

Postgresql: merge fails to enforce update or select row security policies

3.1LowCVSS 3.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 15.4.

A vulnerability was found in PostgreSQL with the use of the MERGE command, which fails to test new rows against row security policies defined for UPDATE and SELECT. If UPDATE and SELECT policies forbid some rows that INSERT policies do not forbid, a user could store such rows.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatSoftware Collections
debiandebian_linux=12.0
postgresqlpostgresql>=15.0 <15.415.4
redhatenterprise_linux=9.0, =8.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-39418 severity on Zeptric[![CVE-2023-39418](https://zeptric.io/badge/cve/CVE-2023-39418.svg)](https://zeptric.io/cve/CVE-2023-39418)