CVE-2017-6919: Drupal access control bypass vulnerability

drupal/core Updated 02 Oct 2025

Summary

13/05/2022
Yes i
High
7.5

CVE-2017-6919: Drupal access control bypass vulnerability. Affects drupal/core across 2 version ranges.

>= 8.0, < 8.2.8 >= 8.3.0, < 8.3.1

Fixed in 8.2.8 or 8.3.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Drupal is a popular open-source content management system (CMS) written in PHP. It provides a flexible platform for building websites and applications. The Drupal core package is the foundation of the CMS and includes essential features and functionality. The vulnerability identified as CVE-2017-6919 affects Drupal versions 8 before 8.2.8 and 8.3 before 8.3.1. It specifically impacts sites that have the RESTful Web Services (rest) module enabled and allow PATCH requests. This vulnerability allows authenticated users to bypass critical access controls.

Vulnerability Detail

The CVE-2017-6919 vulnerability in Drupal allows authenticated users to bypass access controls if the site has the RESTful Web Services (rest) module enabled and allows PATCH requests. This means that even users with limited privileges can gain unauthorized access to sensitive information or perform actions that should be restricted. The vulnerability has a CVSS score of 7.5, indicating a high severity level. It is crucial to address this vulnerability promptly to prevent potential unauthorized access and data breaches.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.0, < 8.2.8 8.2.8
    composer require drupal/core:8.2.8
  • >= 8.3.0, < 8.3.1 8.3.1
    composer require drupal/core:8.3.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate updating is not possible, a temporary workaround is to disable the RESTful Web Services (rest) module. This can be done by accessing the Drupal administration panel, navigating to the 'Extend' section, finding the 'RESTful Web Services' module, and disabling it. Disabling the module will prevent the exploitation of the vulnerability, but it may impact any functionality relying on the RESTful Web Services feature. It is still recommended to update Drupal to the fixed versions as soon as possible.

Conclusion

The CVE-2017-6919 vulnerability in Drupal poses a significant risk to sites that have the RESTful Web Services (rest) module enabled and allow PATCH requests. It allows authenticated users to bypass access controls and potentially gain unauthorized access to sensitive information or perform restricted actions. It is crucial to update Drupal to the fixed versions or disable the vulnerable module as a temporary workaround. For further assistance and support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for drupal/core →

Share this vulnerability

FAQ

Drupal is an open-source content management system (CMS) written in PHP. It provides a flexible platform for building websites and applications.

The RESTful Web Services (rest) module in Drupal allows developers to expose Drupal's functionality as RESTful web services. It enables integration with other systems and applications.

The CVE-2017-6919 vulnerability allows authenticated users to bypass access controls in Drupal if the RESTful Web Services (rest) module is enabled and allows PATCH requests. This can lead to unauthorized access to sensitive information or actions that should be restricted.

The CVE-2017-6919 vulnerability has a CVSS score of 7.5, indicating a high severity level.

To fix the CVE-2017-6919 vulnerability, it is recommended to update Drupal to version 8.2.8 or 8.3.1, depending on the installed version. Alternatively, you can temporarily disable the RESTful Web Services (rest) module until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for drupal/core.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.0, < 8.2.8 8.2.8
    composer require drupal/core:8.2.8
  • >= 8.3.0, < 8.3.1 8.3.1
    composer require drupal/core:8.3.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback