CVE-2023-31250 in Drupal
The file download facility doesn't sufficiently sanitize file paths in certain situations. This may result in users gaining access to private files that they should not have access to. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if yo...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Drupal | Drupal | ≥ 7.0, < 7.96 ≥ 9.4, < 9.4.14 ≥ 9.5, < 9.5.8 ≥ 10.0, < 10.0.8 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The file download facility doesn't sufficiently sanitize file paths in certain situations. This may result in users gaining access to private files that they should not have access to. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing private files after updating.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-31250 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-001890-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2023-04-26 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
CVE-2023-31250 affects Drupal's file download facility by insufficiently sanitizing file paths, potentially allowing unauthorized access to private files.
An attacker could exploit this vulnerability by manipulating file paths in requests to the file download facility, leading to unauthorized access to private files.
Questions
What is CVE-2023-31250?
CVE-2023-31250 affects Drupal's file download facility by insufficiently sanitizing file paths, potentially allowing unauthorized access to private files.
What is the CVSS score for CVE-2023-31250?
CVE-2023-31250 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.6%.
Is CVE-2023-31250 actively exploited?
No confirmed active exploitation of CVE-2023-31250 as of 2026-09-25.
How do I remediate CVE-2023-31250?
Priority: MEDIUM. Advisory: https://www.drupal.org/sa-core-2023-005 PSIRT: [email protected]
What systems are affected by CVE-2023-31250?
CVE-2023-31250 affects Drupal Drupal.
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":"Drupal","product":"Drupal","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.