Drupal Security Advisory
DRUPAL-CORE-2026-007
Details
Drupal core ships a rebuild.php front controller that can be used to rebuild Drupal (clearing the caches and rebuilding the container) when the site is in an unexpected condition.
This script doesn't correctly check the Host header against the list of trusted host patterns. This could result in cache poisoning or a redirect to an attacker-controlled domain.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | drupal/core | All versions before 10.5.12 (fixed in 10.5.12) From 10.6.0 before 10.6.11 (fixed in 10.6.11) From 11.2.0 before 11.2.14 (fixed in 11.2.14) From 11.3.0 before 11.3.12 (fixed in 11.3.12) From 11.0.0 before 11.1.0 (fixed in 11.1.0) From 11.1.0 before 11.2.0 (fixed in 11.2.0) |