CVE-2023-31250
Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2023-31250- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
CVE List
6.5
Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005
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.
- Record
CVE-2023-31250- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2023-1236
6.5
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.
- Record
EUVD-2023-1236- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8849-cv9f-vccm No score
Access bypass in Drupal core
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.
- Record
GHSA-8849-cv9f-vccm- Updated
- 2026-11-02
OSV
6.5
Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005
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.
- Record
CVE-2023-31250- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-31250
6.5
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.
- Record
UBUNTU-CVE-2023-31250- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVBIT-drupal-2023-31250 No score
Drupal core - Moderately critical - Access bypass - SA-CORE-2023-005
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.
- Record
BIT-drupal-2023-31250- Updated
- 2026-11-02
OSVDRUPAL-CORE-2023-005 No score
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.
This advisory is covered by Drupal Steward. Because this vulnerability is not mass exploitable, your Steward partner may respond by monitoring-only, rather than enforcing a new WAF rule.
We would normally not apply for a release of this severity. However, in this case we have chosen to apply Drupal Steward security coverage to test our processes.
Drupal 7
- All Drupal 7 sites on Windows web servers are vulnerable.
- Drupal 7 sites on Linux web servers are vulnerable with certain file directory structures, or if a vulnerable contributed or custom file access module is installed.
Drupal 9 and 10
Drupal 9 and 10 sites are only vulnerable if certain contributed or custom file access modules are installed.
- Record
DRUPAL-CORE-2023-005- Updated
- 2026-11-02
OSVGHSA-8849-cv9f-vccm No score
Access bypass in Drupal core
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.
- Record
GHSA-8849-cv9f-vccm- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
drupal/corePackagist |
10.0.0 up to 10.0.8 | 10.0.8 |
drupal/corePackagist |
9.5.0 up to 9.5.8 | 9.5.8 |
drupal/corePackagist |
9.0.0 up to 9.4.14 | 9.4.14 |
drupal/corePackagist |
7.0.0 up to 7.96 | 7.96 |
drupalBitnami |
7.0.0 up to 7.96.0, 9.4.0 up to 9.4.14, 9.5.0 up to 9.5.8, 10.0.0 up to 10.0.8 | 7.96.09.4.149.5.810.0.8 |
drupal/corePackagist |
8.0.0 up to 9.4.14, 9.5.0 up to 9.5.8, 10.0.0 up to 10.0.8, plus listed versions 10.0.110.0.210.0.310.0.410.0.5 Show 45 moreShow less10.0.610.0.78.0.18.0.28.0.38.0.48.0.58.0.68.1.08.1.0-beta18.1.0-beta28.1.0-rc18.1.18.1.108.1.28.1.38.1.48.1.58.1.68.1.78.1.88.1.98.2.08.2.0-beta18.2.0-beta28.2.0-beta38.2.0-rc18.2.0-rc28.2.18.2.28.2.38.2.48.2.58.2.68.2.78.2.88.3.08.3.0-alpha18.3.0-beta18.3.0-rc18.3.0-rc28.3.18.3.28.3.38.3.4 |
9.4.149.5.810.0.8 |
drupal/corePackagist |
10.0.0 up to 10.0.8, plus listed versions 10.0.110.0.210.0.310.0.410.0.510.0.610.0.7 |
10.0.8 |
drupal/corePackagist |
9.5.0 up to 9.5.8, plus listed versions 9.5.19.5.29.5.39.5.49.5.59.5.69.5.7 |
9.5.8 |
drupal/corePackagist |
9.0.0 up to 9.4.14, plus listed versions 9.0.19.0.109.0.119.0.129.0.13 Show 45 moreShow less9.0.149.0.29.0.39.0.49.0.59.0.69.0.79.0.89.0.99.1.09.1.0-alpha19.1.0-beta19.1.0-rc19.1.0-rc29.1.0-rc39.1.19.1.109.1.119.1.129.1.139.1.149.1.159.1.29.1.39.1.49.1.59.1.69.1.79.1.89.1.99.2.09.2.0-alpha19.2.0-beta19.2.0-beta29.2.0-beta39.2.0-rc19.2.19.2.109.2.119.2.129.2.139.2.149.2.159.2.169.2.17 |
9.4.14 |
drupal7Ubuntu:Pro:14.04:LTS |
All versions, plus listed versions 7.23-17.24-17.24-27.26-17.26-1ubuntu0.17.26-1ubuntu0.1+esm17.26-1ubuntu0.1+esm27.26-1ubuntu0.1+esm3 |
None known |
drupal7Ubuntu:Pro:16.04:LTS |
All versions, plus listed versions 7.38-17.41-17.44-1ubuntu1~16.04.07.44-1ubuntu1~16.04.0+esm17.44-1ubuntu1~16.04.0+esm27.44-1ubuntu1~16.04.0+esm3 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-31250 is a medium vulnerability (CVSS 6.5) in Drupal Core, published April 19, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.54%, the 45th percentile. Fixed in drupal/core 10.0.8.
References
Left out here: 301 versions. The JSON record has them.