CVE-2016-3164 — drupal
HIGHCVE-2016-3164 is a high-severity (CVSS 7.4) vulnerability in drupal/drupal. A fix is available for drupal/drupal — see the affected versions and patch details below.
Drupal Open Redirect
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
drupal/drupal🐘drupal/drupal🐘drupal/drupal🐘drupal/core🐘drupal/core🐘drupal/coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Drupal 6.x before 6.38, 7.x before 7.43, and 8.x before 8.0.4 might allow remote attackers to conduct open redirect attacks by leveraging (1) custom code or (2) a form shown on a 404 error page, related to path manipulation.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | drupal/drupal | ≥ 6.0&&< 6.38 | 6.38composer require drupal/drupal:^6.38 |
| 🐘Packagist | drupal/drupal | ≥ 7.0&&< 7.43 | 7.43composer require drupal/drupal:^7.43 |
| 🐘Packagist | drupal/drupal | ≥ 8.0&&< 8.0.4 | 8.0.4composer require drupal/drupal:^8.0.4 |
| 🐘Packagist | drupal/core | ≥ 8.0&&< 8.0.4 | 8.0.4composer require drupal/core:^8.0.4 |
| 🐘Packagist | drupal/core | ≥ 7.0&&< 7.43 | 7.43composer require drupal/core:^7.43 |
| 🐘Packagist | drupal/core | ≥ 6.0&&< 6.38 | 6.38composer require drupal/core:^6.38 |
Affected Products
debian linuxdebiandrupaldrupalDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for drupal/drupal, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update drupal/drupal to 6.38 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2016-3164 is resolved across your whole dependency graph.
Workarounds
Stop reflecting attacker-controlled destinations: resolve every redirect target against an allowlist of paths or hosts you own, prefer a server-side key over a full URL in the request, and reject absolute URLs entirely where the flow only ever needs a relative one.
Frequently Asked Questions
Is CVE-2016-3164 in your dependencies?
Find it across Packagist, including transitive dependencies.