CVE-2023-31250Drupal
Medium 6.5
Follow: this CVE · Drupal · Drupal We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 45
- Auth required
- Yes
- Published
- Apr 26, 2023
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-863
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for Drupal.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | drupal/core |
≥ 8.0.0 < 9.4.14 |
9.4.14 |
composer require "drupal/core:^9.4.14" |
| Packagist | drupal/core |
≥ 9.5.0 < 9.5.8 |
9.5.8 |
composer require "drupal/core:^9.5.8" |
| Packagist | drupal/core |
≥ 10.0.0 < 10.0.8 |
10.0.8 |
composer require "drupal/core:^10.0.8" |
| Packagist | drupal/core |
≥ 10.0.0 < 10.0.8 |
10.0.8 |
composer require "drupal/core:^10.0.8" |
| Packagist | drupal/core |
≥ 9.5.0 < 9.5.8 |
9.5.8 |
composer require "drupal/core:^9.5.8" |
| Packagist | drupal/core |
≥ 9.0.0 < 9.4.14 |
9.4.14 |
composer require "drupal/core:^9.4.14" |
| Packagist | drupal/core |
≥ 7.0.0 < 7.96 |
7.96 |
composer require "drupal/core:^7.96" |
Per OSV / GitHub Advisories (DRUPAL-CORE-2023-005, GHSA-8849-cv9f-vccm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| drupal | drupal | ≥ 7.0 < 7.96 |
| drupal | drupal | ≥ 9.4 < 9.4.14 |
| drupal | drupal | ≥ 9.5 < 9.5.8 |
| drupal | drupal | ≥ 10.0 < 10.0.8 |
Official sources
References
Links published by the sources. Open them with care.
- www.drupal.org Vendor Advisory