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.
CVE-2023-39418
CVSS base score
3.1 (v3.1)
Severity
LOW
Attack vector
Network
Weakness
CWE-1220
Last modified
November 27, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Affected products
postgresql postgresql
redhat enterprise linux
debian debian linux
References
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Issue Tracking, Patch, Third Party Advisory
- git.postgresql.org Mailing List, Patch
- www.postgresql.org Vendor Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory