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

Advisory record · `GHSA-8849-cv9f-vccm`

- **Identifiers:** `GHSA-8849-cv9f-vccm` · `BIT-drupal-2023-31250` · `CVE-2023-31250` · `DRUPAL-CORE-2023-005` · `PKSA-h7d4-5mdz-2965`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 19 Apr 2023
- **Updated:** 19 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 19 Apr 2023, 17:06 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `drupal/core` (Packagist): affected `>=8.0.0, <9.4.14 || >=9.5.0, <9.5.8 || >=10.0.0, <10.0.8`; fixed in `9.4.14`, `9.5.8`, `10.0.8`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Drupal core (drupal/core) versions from 8.0.0 up to 9.4.14, from 9.5.0 up to 9.5.8, and from 10.0.0 up to 10.0.8 are affected. A user who can use the file download facility may be able to reach private files they should not have access to, and the source says Drupal 9 and 10 sites are only vulnerable when certain contributed or custom file access modules are installed, while Drupal 7 is not covered by these version ranges. Upgrade to 9.4.14, 9.5.8, or 10.0.8, and review the release notes if private file access breaks after updating.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0054, the 46th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 13:55 UTC: First seen by agentprime
- 31 Oct 2026, 13:55 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/DRUPAL-CORE-2023-005)

## Sources

- [GitHub Advisory Database: GHSA-8849-cv9f-vccm](https://github.com/advisories/GHSA-8849-cv9f-vccm)
- [OSV: GHSA-8849-cv9f-vccm](https://osv.dev/vulnerability/GHSA-8849-cv9f-vccm)
- <https://www.drupal.org/sa-core-2023-005>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-8849-cv9f-vccm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8849-cv9f-vccm/>. Everything for agents: <https://agentprime.io/llms.txt>.
