SA-CORE-2026-007: Critical severity Drupal Drupal vulnerability

Published Jun 17, 2026
·
Updated

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.

Credit

Melih Acikoz, Michael Winser (michaelwinser), Willem Drupal enthousiast (willempje2)

Affected Software

1 affected componentFixes available
Drupal Drupal<11.3.12, <11.2.14, <10.6.11, <10.5.12
11.3.1211.2.1410.6.1110.5.12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 11.3.12Fixed in 11.2.14Fixed in 10.6.11Fixed in 10.5.12
  2. Upgrade

    Upgrade Drupal core to a version that resolves this vulnerability.

    Fixed in 11.3.12
  3. Upgrade

    Upgrade Drupal core to a version that resolves this vulnerability.

    Fixed in 11.2.14
  4. Upgrade

    Upgrade Drupal core to a version that resolves this vulnerability.

    Fixed in 10.6.11
  5. Upgrade

    Upgrade Drupal core to a version that resolves this vulnerability.

    Fixed in 10.5.12
  6. Configuration

    Configure trusted_host_patterns in settings.php to include only the valid hostnames for your site so the Host header is validated against a strict allowlist.

    Drupal core trusted_host_patterns = patterns matching only your legitimate hostnames
  7. Compensating control

    Restrict access to the rebuild.php front controller to trusted IPs or internal networks (via web server ACLs or firewall rules) to prevent external attackers from triggering the script while the Host header issue is being remediated.

Event History

Jun 17, 2026
Advisory Published
via Drupal·12:00 AM
Data Sourced
via Drupal·12:00 AM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of SA-CORE-2026-007?

The severity of SA-CORE-2026-007 is rated as critical with a score of 9.

2

How do I fix SA-CORE-2026-007?

To fix SA-CORE-2026-007, update to the latest version of Drupal where the vulnerability is patched.

3

What are the risks associated with SA-CORE-2026-007?

The risks include unauthorized access to the rebuild.php script, potentially allowing an attacker to manipulate the site caches.

4

What version of Drupal is affected by SA-CORE-2026-007?

SA-CORE-2026-007 affects all versions of Drupal that include the vulnerable rebuild.php front controller.

5

When was SA-CORE-2026-007 published?

SA-CORE-2026-007 was published on June 17, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203