BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-10978 in Debian Linux and 1 more product

Medium 4.2

Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature. The problem arises when an application query uses parameters from the...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.14.2
EPSS0.7%
EPSS percentile47th
FixSee advisory

Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 11.0
Postgresql Postgresql 17.0 ≥ 12.0, < 12.21 ≥ 13.0, < 13.17 ≥ 14.0, < 14.14 ≥ 15.0, < 15.9 ≥ 16.0, < 16.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION. The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-10978
BreachSpider IDBS-2024-GLOBAL-181889-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Published2024-11-14
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-266: CWE-266

Analysis AI-written, not human-reviewed

CVE-2024-10978 involves incorrect privilege assignment in PostgreSQL, allowing less-privileged users to access or modify unintended data through the use of SET ROLE or SET SESSION AUTHORIZATION.

An attacker can exploit this vulnerability by manipulating application queries that use SET ROLE or SET SESSION AUTHORIZATION, potentially leading to unauthorized data access or modification.

Questions

What is CVE-2024-10978?

CVE-2024-10978 involves incorrect privilege assignment in PostgreSQL, allowing less-privileged users to access or modify unintended data through the use of SET ROLE or SET SESSION AUTHORIZATION.

What is the CVSS score for CVE-2024-10978?

CVE-2024-10978 has CVSS 4.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N. EPSS: 0.7%.

Is CVE-2024-10978 actively exploited?

No confirmed active exploitation of CVE-2024-10978 as of 2026-09-25.

How do I remediate CVE-2024-10978?

Priority: MEDIUM. Advisory: https://www.postgresql.org/support/security/CVE-2024-10978/ PSIRT: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

What systems are affected by CVE-2024-10978?

CVE-2024-10978 affects Debian Debian Linux; Postgresql Postgresql.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.