CVE-2024-0985Postgresql
High 8.0
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 48
- CVSS 3.1
- 8.0
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 69
- Auth required
- Yes
- Published
- Feb 8, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-271
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
What happens
Late privilege drop in REFRESH MATERIALIZED VIEW CONCURRENTLY in PostgreSQL allows an object creator to execute arbitrary SQL functions as the command issuer. The command intends to run SQL functions as the owner of the materialized view, enabling safe refresh of untrusted materialized views. The victim is a superuser or member of one of the attacker's roles. The attack requires luring the victim into running REFRESH MATERIALIZED VIEW CONCURRENTLY on the attacker's materialized view. Versions before PostgreSQL 16.2, 15.6, 14.11, 13.14, and 12.18 are affected.
What to do
- Apply the vendor's security update for Postgresql.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | ≥ 12.0 < 12.18 |
| postgresql | postgresql | ≥ 13.0 < 13.14 |
| postgresql | postgresql | ≥ 14.0 < 14.11 |
| postgresql | postgresql | ≥ 15.0 < 15.6 |
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.
- lists.debian.org
- saites.dev
- www.postgresql.org Vendor Advisory
- security.netapp.com