CVE-2023-31250
MEDIUM 6.5CVSS 3.1Access 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.
- Published
- 26 Apr 2023
- Last modified
- 19 Sep 2026
- Assigned by
- mlhess@drupal.org
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- BIT-drupal-2023-31250DRUPAL-CORE-2023-005GHSA-8849-cv9f-vccm
- Sources
- NVDJSONOSV DRUPAL-CORE-2023-005JSONOSV GHSA-8849-cv9f-vccmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 7.0, < 7.96 | 7.96 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.4, < 9.4.14 | 9.4.14 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 9.5, < 9.5.8 | 9.5.8 |
| NVD | drupal | drupalcpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
>= 10.0, < 10.0.8 | 10.0.8 |
| OSV | Packagist | drupal/core | >= 8.0.0, < 9.4.14; >= 9.5.0, < 9.5.8; >= 10.0.0, < 10.0.8 | 9.4.14, 9.5.8, 10.0.8 |
| OSV | Packagist | drupal/core | >= 10.0.0, < 10.0.8 | 10.0.8 |
| OSV | Packagist | drupal/core | >= 9.5.0, < 9.5.8 | 9.5.8 |
| OSV | Packagist | drupal/core | >= 9.0.0, < 9.4.14 | 9.4.14 |
| OSV | Packagist | drupal/core | >= 7.0.0, < 7.96 | 7.96 |
References
- https://www.drupal.org/sa-core-2023-005 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-31250 · ADVISORY
- https://github.com/drupal/core · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 26 Apr 2023)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Apr 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Apr 2023)