CVE-2024-10978: PostgreSQL · Incorrect Privilege Assignment
Affects postgresqlSource GCVE Database
Not known to be exploited · CVSS 4.2 Medium · fixed in 17.1 : update postgresql when convenient.
Data as of 29 Oct 2026, 23:00 UTC
Thin evidence
One scorer or none| CNA (PostgreSQL) | CVSS 3.1 | 4.2 |
|---|
- Patch
- Available – fixed in 17.1, 16.5, 15.9 +3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 16 Nov 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Postgresqlpostgresql/postgresqlpkg:deb/postgresql/postgresqlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Fixed versions are PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21. Users should upgrade to these or later versions to remediate the vulnerability. No vendor advisory content contradicts this; therefore, upgrading is the recommended mitigation.
Description
CVE-2024-10978 is a privilege assignment vulnerability in PostgreSQL that allows a less-privileged application user to view or modify rows they should not access. This occurs when the application uses SET ROLE, SET SESSION AUTHORIZATION, or similar features, and queries react to current_setting('role') or the current user ID incorrectly. Versions prior to PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.
References
- nvd.nist.gov/vuln/detail/CVE-2024-10978 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/11/msg00011.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/11/msg00018.html (opens in a new tab)
- postgresql.org/message-id/173171334532.1547978.1518068370217143844%40wrigleys.postgresql.org (opens in a new tab)
- postgresql.org/support/security/CVE-2024-10978 (opens in a new tab)