CVE-2023-2455Postgresql
Medium 5.4
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- Yes
- Published
- Jun 9, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Postgresql.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | ≥ 11.0 < 11.20 |
| postgresql | postgresql | ≥ 12.0 < 12.15 |
| postgresql | postgresql | ≥ 13.0 < 13.11 |
| postgresql | postgresql | ≥ 14.0 < 14.8 |
| postgresql | postgresql | ≥ 15.0 < 15.3 |
| redhat | software_collections | all |
| redhat | enterprise_linux | 8.0 |
| redhat | enterprise_linux | 9.0 |
| fedoraproject | fedora | 38 |
Official advisories
- postgresql18-18.7-1.1 on GA media · SUSE · openSUSE-SU-2026:12654-1 · Nov 23, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- security.netapp.com
- www.postgresql.org Vendor Advisory