Back to CVE records
Medium 5.4Published Jun 9, 2023

CVE-2023-2455Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is pl…

Updated under an hour ago ()

Does this affect you?

It affects postgresql and 3 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

Row security policies disregard user ID changes after inlining; PostgreSQL could permit incorrect policies to be applied in certain cases where role-specific policies are used and a given query is planned under one role and then executed under other roles. This scenario can happen under security definer functions or when a common user and query is planned initially and then re-used across multiple SET ROLEs. Applying an incorrect policy may permit a user to complete otherwise-forbidden reads and modifications. This affects only databases that have used CREATE POLICY to define a row security policy.

Free: a daily email for up to 3 products and the weekly digest. No card, no password. By continuing you agree to the Terms and Privacy Policy.

CVSS
5.4 MEDIUM (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness (CWE)
CWE-20
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Jun 17, 2026
First seen by InfoSec Signals
Nov 1, 2026

Affected products

Affected products
postgresql postgresql
postgresql:postgresql
from 11.0 before 11.20; from 12.0 before 12.15; from 13.0 before 13.11; from 14.0 before 14.8; from 15.0 before 15.3
NVD
redhat software_collections
redhat:software_collections
all versions
NVD
redhat enterprise_linux
redhat:enterprise_linux
8.0; 9.0
NVD
fedoraproject fedora
fedoraproject:fedora
38
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Essential cookies only, unless you allow a Google ads cookie. See our .