CVE-2017-6924 · drupal
REST API can bypass comment approval - Access Bypass - Moderately Critical
In Drupal 8 prior to 8.3.7; When using the REST API, users without the correct permission can post comments via REST that are approved even if the user does not have permission to post approved comments. This issue only affects sites that have the RESTful Web Services (rest) module enabled, the comment entity REST resource enabled, and where an attacker can access a user account on the site with permissions to post comments, or where anonymous users can post comments.
Published 2019-01-15, last changed 2026-06-17. Weakness: CWE-269.
How to fix
Upgrade to a fixed version: drupal/core 8.3.7 (Packagist); drupal/drupal 8.3.7 (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 d86c3b65ee. The fix changed source code, but no function could be located in it. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2019-01-15 | Published |
| 2022-05-13 | Package advisory GHSA-p8g6-5mg7-9r5q |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 2.10% |
| 2026-12-02 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-p8g6-5mg7-9r5q | drupal/core (Packagist) | 8.3.7 |
| GHSA-p8g6-5mg7-9r5q | drupal/drupal (Packagist) | 8.3.7 |
Also known as: GHSA-p8g6-5mg7-9r5q
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-6924, or call /api/v1/vulnerabilities/CVE-2017-6924. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.