CVE-2017-6922: Drupal Core Access Bypass Vulnerability

drupal/core Updated 02 Oct 2025

Summary

13/05/2022
Yes i
Moderate
6.5

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

>= 7.0, < 7.56 >= 8.0, < 8.3.4

Fixed in 7.56 or 8.3.4, 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 an open-source content management system (CMS) written in PHP. It is widely used for building websites and applications. The Drupal core package is the foundation of the CMS and provides essential functionality. This vulnerability affects Drupal core versions 7.x prior to 7.56 and 8.x prior to 8.3.4. The vulnerability allows anonymous users to access private files that have been uploaded by other anonymous users, even if the files are not attached to any content on the site. This can lead to unauthorized access to sensitive information.

Vulnerability Detail

The vulnerability arises from a lack of access restrictions on private files uploaded by anonymous users. Normally, private files should only be visible to the user who uploaded them. However, Drupal core did not enforce this protection, allowing any anonymous user to access these files. To exploit the vulnerability, the site must allow anonymous users to upload files into a private file system. The impact of this vulnerability is moderate, as it requires specific site configurations to be affected.

How To Fix

Fixed versions by release line

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

  • >= 7.0, < 7.56 7.56
    composer require drupal/core:7.56
  • >= 8.0, < 8.3.4 8.3.4
    composer require drupal/core:8.3.4

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

Workaround

There is no specific workaround provided for this vulnerability. The recommended solution is to update to the patched versions of Drupal core.

Conclusion

The Drupal core access bypass vulnerability (CVE-2017-6922) allows anonymous users to access private files uploaded by other anonymous users. This can lead to unauthorized access to sensitive information. To mitigate the vulnerability, Drupal site administrators should update their installations to the patched versions and review site configurations. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for drupal/core →

Share this vulnerability

FAQ

Drupal core is the foundational package of the Drupal content management system. It provides essential functionality for building websites and applications.

The vulnerability occurs due to a lack of access restrictions on private files uploaded by anonymous users. This allows any anonymous user to access these files.

The impact of this vulnerability is moderate, as it requires specific site configurations to be affected. It can lead to unauthorized access to private files.

To fix this vulnerability, update your Drupal installation to version 7.56 or 8.3.4 or later. Review your site configurations to ensure that anonymous users do not have permission to upload files into the private file system.

There is no specific workaround provided. The recommended solution is to update to the patched versions of Drupal core.

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.

  • >= 7.0, < 7.56 7.56
    composer require drupal/core:7.56
  • >= 8.0, < 8.3.4 8.3.4
    composer require drupal/core:8.3.4

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