CVE-2023-39418
LowCVSS 3.1Exploitation Probability (EPSS)
Elevated risk57th percentile — higher than 57% of all known CVEs
Summary
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. A user could store such rows that are forbidden by UPDATE and SELECT policies but not by INSERT policies.
Risk Assessment
The organization may be exposed to unauthorized access to data, potentially leading to breaches of security policies and information leaks.
Recommendation
It is recommended to review and update row security policies and monitor the use of the MERGE command to prevent the storage of unauthorized data.
Original NVD description (English source)
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.

