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.
https://www.postgresql.org/support/security/CVE-2023-39418/
https://bugzilla.redhat.com/show_bug.cgi?id=2228112
https://access.redhat.com/security/cve/CVE-2023-39418
https://access.redhat.com/errata/RHSA-2023:7885
https://access.redhat.com/errata/RHSA-2023:7884