Critical

Drupal core - SA-CORE-2021-008

  • Disclosed: 15.09.2021
  • Updated: 11.10.2026 13:17

Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs. The modules do not correctly run all file validation, which causes an access bypass vulnerability. An attacker might be able to upload files that bypass the file validation process implemented by modules on the site.

This vulnerability is mitigated by three factors:

  1. The JSON:API or REST File upload modules must be enabled on the site.
  2. An attacker must have access to a file upload via JSON:API or REST.
  3. The site must employ a file validation module.

This advisory is not covered by Drupal Steward.

Also see GraphQL - Moderately critical - Access bypass - SA-CONTRIB-2021-029 which addresses a similar vulnerability for that module.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package drupal/core >= 8.0.0, < 8.9.19, >= 9.1.0, < 9.1.13, >= 9.2.0, < 9.2.6 8.9.19, 9.1.13, 9.2.6
Composer package drupal/graphql >= 4.0.0, < 4.2.0 4.2.0
Drupal (core) drupal/core >= 8.0.0, < 8.9.19, >= 9.1.0, < 9.1.13, >= 9.2.0, < 9.2.6 8.9.19, 9.1.13, 9.2.6
Drupal module drupal/graphql >= 4.0.0, < 4.2.0 4.2.0

References

CVSS score 9.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-284, CWE-434
Platform
Composer, Drupal
Package
drupal/core, drupal/graphql
Disclosed
15.09.2021
Updated
11.10.2026 13:17

Sources and licenses

OSV / GitHub Advisory Database - GHSA-v8wr-r69p-mmwx - CC BY 4.0

OSV / GitHub Advisory Database - DRUPAL-CORE-2021-008 - CC BY-SA 2.0; code GPL-2.0-or-later

OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2021-029 - CC BY-SA 2.0; code GPL-2.0-or-later

Vulnerability history: drupal/core

All published vulnerabilities of this package (Drupal (core)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (165) in the archive
Total entries
165
First → latest
02.2018 09.2026
Without a fix
3
Exploited in attacks
5

Severity breakdown

  • Critical 17
  • High 44
  • Medium 72
  • Low 6
  • Unrated 26

Disclosures per year

  1. 2018: 4
  2. 2019: 14
  3. 2020: 12
  4. 2021: 11
  5. 2022: 61
  6. 2023: 6
  7. 2024: 36
  8. 2025: 8
  9. 2026: 13
Severity:
  1. Drupal core - SA-CORE-2021-008 this entry
    Critical · 9.8 CVE-2020-13675 >= 8.0.0, < 8.9.19, >= 9.1.0, < 9.1.13, >= 9.2.0, < 9.2.6 8.9.19, 9.1.13, 9.2.6
  2. Critical · 9.8 Exploited in attacks CVE-2026-9082 >= 8.9.0, < 10.4.10, >= 10.5.0, < 10.5.10, >= 10.6.0, < 10.6.9, >= 11.0.0, < 11.1.10, >= 11.2.0, < 11.2.12, >= 11.3.0, < 11.3.10 10.4.10, 10.5.10, 10.6.9, 11.1.10, 11.2.12, 11.3.10
  3. High · 9.8 CVE-2024-55638 >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 7.0, < 7.102, >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 7.0, < 7.102, >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 7.0, < 7.102 10.2.11, 10.3.9, 7.102
  4. High · 9.8 CVE-2024-55637 >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8, >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8, >= 8.8.0, < 10.2.11, >= 10.3.0, < 10.3.9, >= 11.0.0, < 11.0.8 10.2.11, 10.3.9, 11.0.8
  5. High · 7.8 ghsa-j66p-fvp2-fxhj >= 7.0.0, < 7.75, >= 8.0.0, < 8.8.12, >= 8.9.0, < 8.9.10, >= 9.0.0, < 9.0.9 7.75, 8.8.12, 8.9.10, 9.0.9
  6. High · 8.1 ghsa-m9fv-whq2-6wmc >= 7.0.0, < 7.69, >= 8.0.0, < 8.7.11, >= 8.8.0, < 8.8.1 7.69, 8.7.11, 8.8.1
  7. Critical ghsa-jf8c-36vw-98x4 >= 7.0, < 7.60, >= 8.0.0, < 8.5.8, >= 8.6.0, < 8.6.2 7.60, 8.5.8, 8.6.2
  8. Critical ghsa-jjx7-8462-w4m4 >= 8.0.0, < 8.5.8, >= 8.6.0, < 8.6.2 8.5.8, 8.6.2
  9. High · 7.8 ghsa-gxxj-g9v8-w28p >= 7.0.0, < 7.75, >= 8.0.0, < 8.8.12, >= 8.9.0, < 8.9.10, >= 9.0.0, < 9.0.9 7.75, 8.8.12, 8.9.10, 9.0.9
  10. High · 8.1 ghsa-98h9-727m-44qv >= 7.0.0, < 7.69, >= 8.0.0, < 8.7.11, >= 8.8.0, < 8.8.1 7.69, 8.7.11, 8.8.1
  11. Critical ghsa-7v68-3pr5-h3cr >= 8.0.0, < 8.5.8, >= 8.6.0, < 8.6.2 8.5.8, 8.6.2
  12. Critical ghsa-6mgp-v5cm-ghg5 >= 7.0, < 7.60, >= 8.0.0, < 8.5.8, >= 8.6.0, < 8.6.2 7.60, 8.5.8, 8.6.2
  13. High · 7.5 CVE-2024-11941 >= 8.0.0, < 10.1.8, >= 10.2.0, < 10.2.2 10.1.8, 10.2.2
  14. Critical CVE-2023-5256 >= 8.7.0, < 9.5.11, >= 10.0.0, < 10.0.11, >= 10.1.0, < 10.1.4 9.5.11, 10.0.11, 10.1.4
  15. Critical CVE-2023-31250 >= 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
  16. High · 7.5 CVE-2022-39261 >= 8.0.0, < 9.3.22, >= 9.4.0, < 9.4.7 9.3.22, 9.4.7
  17. High · 7.2 CVE-2022-25277 >= 8.0.0, < 9.3.19, >= 9.4.0, < 9.4.3 9.3.19, 9.4.3
  18. High · 7.5 CVE-2022-25275 >= 8.0.0, < 9.3.19, >= 9.4.0, < 9.4.3 9.3.19, 9.4.3
  19. High · 7.5 CVE-2022-31042 >= 8.0.0, < 9.2.21, >= 9.3.0, < 9.3.16 9.2.21, 9.3.16
  20. High · 8.0 CVE-2022-29248 >= 8.0.0, < 9.2.20, >= 9.3.0, < 9.3.14 9.2.20, 9.3.14
  21. High · 7.5 CVE-2013-6389 >= 7.0, < 7.24 7.24
Show more (20) Showing 21 of 61

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.