↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

CVE-2023-39418

PostgreSQL 15 introduced 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 row that INSERT policies do not forbid, a user could store such rows. Subsequent consequences are application-dependent. This affects only databases that have used CREATE POLICY to define a row security policy. The PostgreSQL project thanks Dean Rasheed for reporting this problem.

Version Information

Affected branchIntroducedFixed InFix Published
15—15.42023-08-10

CVSS 3.0

Overall Score3.1
Componentcore server
VectorAV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

First published: 2023-08-10

Historical source observations

These dated records preserve the original source claims separately from the reviewed fix list.

center · 2026-10-03 12:08:35.169032+08

  • PostgreSQL 15 · Original minor coordinate: 4

pgweb · 2026-10-03 12:08:55.967155+08

  • PostgreSQL 15 · Original minor coordinate: 4

Original security advisory · JSON · All advisories