Drupal core - SA-CORE-2026-009
The JSON:API and REST modules allow you to upload image files to image fields.
The validation rules check the file extension of the uploaded file but not the file MIME type. This may allow a malicious user to upload a file that is not an image.
Certain web-server configurations may serve the uploaded file with its actual MIME type rather than an image type. This may lead to cross-site scripting (XSS) or other unexpected behavior.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | drupal/core | < 10.5.12, >= 10.6.0, < 10.6.11, >= 11.2.0, < 11.2.14, >= 11.3.0, < 11.3.12, >= 11.0.0, < 11.1.0, >= 11.1.0, < 11.2.0 | 10.5.12, 10.6.11, 11.2.14, 11.3.12, 11.1.0, 11.2.0 |
| Drupal (core) | drupal/core | < 10.5.12, >= 10.6.0, < 10.6.11, >= 11.2.0, < 11.2.14, >= 11.3.0, < 11.3.12, >= 11.0.0, < 11.1.0, >= 11.1.0, < 11.2.0 | 10.5.12, 10.6.11, 11.2.14, 11.3.12, 11.1.0, 11.2.0 |
References
- Weakness (CWE)
-- Platform
- Composer, Drupal
- Package
drupal/core- Disclosed
- 17.06.2026
- Updated
- 11.10.2026 12:18
Sources and licenses
OSV / GitHub Advisory Database - DRUPAL-CORE-2026-009 - CC BY-SA 2.0; code GPL-2.0-or-later
Vulnerability history: drupal/core
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 146
- First → latest
- 02.2018 09.2026
- Without a fix
- 3
- Exploited in attacks
- 5
Severity breakdown
- Critical 15
- High 40
- Medium 60
- Low 5
- Unrated 26
Disclosures per year
- 2018: 4
- 2019: 14
- 2020: 12
- 2021: 11
- 2022: 55
- 2023: 6
- 2024: 23
- 2025: 8
- 2026: 13
-
Drupal core - SA-CORE-2026-009 this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.