cvedb.io
CVE-2023-2455
MEDIUM · CVSS 5.4
EPSS exploitation probability: 0%
Published 2023-06-09T19:15:09.313 · Last modified 2026-06-17T05:52:37.740

Summary

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.

Affected products

postgresql — postgresql

Does this affect you?

Add your gear to cvedb and we'll alert you only when postgresql ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.