CVE-2017-6928 · drupal
CVE-2017-6928
Drupal core 7.x versions before 7.57 when using Drupal's private file system, Drupal will check to make sure a user has access to a file before allowing the user to view or download it. This check fails under certain conditions in which one module is trying to grant access to the file and another is trying to deny it, leading to an access bypass vulnerability. This vulnerability is mitigated by the fact that it only occurs for unusual site configurations.
Published 2018-03-01, last changed 2026-06-17. Weakness: CWE-732.
How to fix
Upgrade to a fixed version: drupal/core 7.57 (Packagist); drupal/drupal 7.57 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in drupal/drupal by bc929eb17c. Functions changed by the fix: httpData, checkPlain. Regression tests: modules/file/tests/file.test, modules/file/tests/file_module_test.module, modules/simpletest/tests/common.test, modules/simpletest/tests/common_test.module. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2018-03-01 | Published |
| 2022-05-13 | Package advisory GHSA-66mv-q8r2-hj8w |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 1.02% |
| 2026-12-03 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-66mv-q8r2-hj8w | drupal/core (Packagist) | 7.57 |
| GHSA-66mv-q8r2-hj8w | drupal/drupal (Packagist) | 7.57 |
Also known as: GHSA-66mv-q8r2-hj8w
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-136716 KEV | 2026-11-26 | 9.8 | Drupal core - Highly critical - Access bypass - SA-CORE-2026-019 |
| CVE-2026-132166 | 2026-11-26 | 6.6 | Drupal core - Moderately critical - Gadget chain - SA-CORE-2026-018 |
| CVE-2026-132165 KEV | 2026-11-26 | 9.8 | Drupal core - Highly critical - Remote code execution - SA-CORE-2026-017 |
| CVE-2026-108515 | 2026-10-30 | 6.5 | Drupal core - Moderately critical - Cross-site scripting - SA-CORE-2026-015 |
| CVE-2026-108514 | 2026-10-30 | 6.5 | Drupal core - Moderately critical - Cross-site scripting - SA-CORE-2026-016 |
| CVE-2026-108097 | 2026-10-30 | 8.1 | Drupal core - Critical - Remote code execution - SA-CORE-2026-014 |
| CVE-2026-55805 | 2026-08-25 | 5.4 | Drupal core - Moderately critical - Cross-site scripting - SA-CORE-2026-012 |
| CVE-2026-15917 | 2026-08-25 | 4.7 | Drupal core - Moderately critical - Cross-site scripting - SA-CORE-2026-011 |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-6928, or call /api/v1/vulnerabilities/CVE-2017-6928. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.