vulnerability

PostgreSQL: CVE-2023-39418: MERGE fails to enforce UPDATE or SELECT row security policies

Severity
4
CVSS
(AV:N/AC:M/Au:S/C:N/I:P/A:N)
Published
Aug 11, 2023
Added
Aug 11, 2023
Modified
Mar 27, 2026

Description

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.

Solution

postgres-upgrade-15_4
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.