# CVE-2017-6921: File REST resource does not properly validate

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2019-01-15 · Modified: 2024-09-16
- Record: https://cvemate.com/vulnerability/CVE-2017-6921 · JSON: https://cvemate.com/vulnerability/CVE-2017-6921/json

## Description

```text
In Drupal 8 prior to 8.3.4; The file REST resource does not properly validate some fields when manipulating files. A site is only affected by this if the site has the RESTful Web Services (rest) module enabled, the file REST resource is enabled and allows PATCH requests, and an attacker can get or register a user account on the site with permissions to upload files and to modify the file resource.
```

## Signals

- CVSS: 5.9 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 1.834%, percentile 79.643%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- drupal drupal: ≥ 8.0.0, \< 8.3.4
- drupal drupal core: ≥ Drupal 8, \< 8.3.4

## References

- <http://www.securityfocus.com/bid/99222>
- <https://www.drupal.org/forum/newsletters/security-advisories-for-drupal-core/2017-06-21/drupal-core-multiple>
- <http://www.securitytracker.com/id/1038781>

---

Data as of 2026-12-05T08:58:42.975Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
