CVE Professor
/
All CVEs
CVE-2026-136716

CVE-2026-136716 — Drupal (all Versions) — CWE-754

CRITICAL CVSS 9.8 ⚡ EPSS 556.0% 🚨 CISA KEV NVD+KEV

Drupal Core contains an improper check for unusual or exceptional conditions vulnerability that allows an unauthenticated remote attacker to take over a site via the exposed Drupal installer when the site is in one of the affected unusual or incomplete installation states.

Drupal Core contains an improper check for unusual or exceptional conditions vulnerability that allows an unauthenticated remote attacker to take over a site via the exposed Drupal installer when the site is in one of the affected unusual or incomplete installation states.

Active Exploitation Detected — CISA KEV

This vulnerability is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and is actively exploited in the wild. Patch due date: 2026-11-30

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
556.0%
30-day probability
Low exploitation probability (under 10%).
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE-2026-136716 is a critical logic flaw in Drupal Core classified under CWE-754: Improper Check for Unusual or Exceptional Conditions.

The vulnerability arises because the Drupal installation process (/core/install.php) does not properly validate the state of the site before allowing access to the installer interface. Specifically, if a Drupal site is in an "unusual or incomplete installation state" (e.g., the database schema is partially migrated, the settings.php file is misconfigured, or the core/modules/system/config/install state is inconsistent), the installer remains accessible to unauthenticated users.

Normally, once a site is installed, the installer should be locked down. However, due to the improper check, an unauthenticated remote attacker can bypass the standard "site is already installed" check and re-enter the installation wizard. This allows the attacker to:
1. Re-initialize the database schema.
2. Create a new administrative user.
3. Overwrite critical configuration settings.

This is not a traditional SQL injection or RCE via code execution. It is a privilege escalation via state manipulation. The attacker gains full administrative control by resetting the site's identity and credentials.

CVSS Vector Breakdown:

  • AV:N: Exploitable over the network.

  • AC:L: Low complexity; no race conditions or specific timing required.

  • PR:N: No privileges required (unauthenticated).

  • UI:N: No user interaction required.

  • S:U: Scope is unchanged (the vulnerable component is the application itself).

  • C:H/I:H/A:H: Complete compromise of Confidentiality, Integrity, and Availability.
  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

    The attacker identifies a target running Drupal. Since the vulnerability affects "all versions" (as per the CVE data provided), version fingerprinting is less critical for exploitability but useful for confirming the presence of Drupal.
  • Technique: Check for the presence of /core/install.php.
  • Indicator: A 200 OK response from GET /core/install.php on a site that appears to be live (i.e., not a fresh install) suggests the installer is exposed.
  • State Check: The attacker may probe for signs of an "incomplete installation" by checking if the site returns a 500 error or a generic "Database connection failed" message, or if specific Drupal assets (like /core/misc/drupal.js) are missing or misconfigured.
  • 2. Exploitation

    The attacker sends a request to the Drupal installer endpoint. The exact payload depends on the specific "unusual state" of the target, but the general mechanism is to submit the installer form data to re-initialize the site.

    Illustrative PoC (Conceptual):
    Note: The exact form fields and CSRF token generation depend on the specific Drupal version and the state of the settings.php file. This is an illustrative example of the vulnerability class.

    # Step 1: Retrieve the installer page to obtain the CSRF token (form_build_id)
    curl -s -c cookies.txt "https://target.com/core/install.php?profile=standard" | grep -o 'name="form_build_id" value="[^"]*"' | cut -d'"' -f4
    
    # Step 2: Submit the installer form to create a new admin user
    # The attacker sets the site name, admin username, and password.
    curl -X POST "https://target.com/core/install.php?profile=standard" \
      -b cookies.txt \
      -d "form_id=install_configure_form" \
      -d "form_build_id=$TOKEN" \
      -d "site_name=Compromised" \
      -d "[email protected]" \
      -d "account[user]=admin" \
      -d "account[pass]=P@ssw0rd123!" \
      -d "account[mail][email protected]" \
      -d "install_configure_form_submit=Install site"

    Key Technical Detail:
    The vulnerability allows this because the installer does not verify that the core module is already installed and active in the database before proceeding. In a normal, healthy installation, the installer would redirect to the login page or return a 403/404. In the vulnerable state, it processes the form and writes a new admin user to the users table and updates the system module configuration.

    3. Post-Exploitation

    Once the installer completes: 1. Administrative Access: The attacker logs in to /user/login with the newly created credentials (admin / P@ssw0rd123!). 2. Full Control: With admin access, the attacker can: * Install malicious modules (e.g., a webshell module). * Modify site configuration to exfiltrate data. * Delete or corrupt the database, leading to denial of service. * Pivot to other systems if the Drupal site has database or file system access to other resources.

    🌍 Real World Impact

  • Confidentiality (High): The attacker gains access to all user data, including email addresses, usernames, and potentially sensitive content stored in the database.
  • Integrity (High): The attacker can modify any content, configuration, or code within the Drupal site. They can deface the site, inject malicious scripts, or alter business logic.
  • Availability (High): The attacker can delete the database, disable the site, or cause resource exhaustion, leading to a complete denial of service.
  • Practical Consequences:

  • Total Site Takeover: The original site owner loses control of their website.

  • Data Breach: User PII and business data may be exfiltrated.

  • Reputational Damage: The site may be used for phishing, malware distribution, or other malicious activities.

  • Financial Loss: Downtime, incident response costs, and potential legal liabilities.
  • 🛡️ Remediation & Mitigation

    1. Immediate Patching

  • Affected Versions: All versions of Drupal Core (as per CVE data).
  • Action: Upgrade to the latest patched version of Drupal Core as soon as possible. Monitor the Drupal security advisories page for the specific patch release.
  • 2. Workarounds (If Immediate Patching is Not Possible)

  • Restrict Access to /core/install.php:
  • * Web Server Configuration (Apache/Nginx): Block unauthenticated access to the installer. * Nginx Example:
    location /core/install.php {
                # Allow only from specific IP ranges or require authentication
                # For example, require basic auth or restrict to localhost
                allow 127.0.0.1;
                deny all;
            }

    * Apache Example:

    <Files "install.php">
                Order Allow,Deny
                Allow from 127.0.0.1
                Deny from all
            </Files>

    * Note: This may break legitimate re-installation processes, so it should be a temporary measure.

  • Verify Installation State:
  • * Ensure that the settings.php file is correctly configured and that the database is in a consistent state. * Check for any incomplete migrations or failed updates that might leave the site in an "unusual state."
  • WAF Rules:
  • * Implement a Web Application Firewall (WAF) rule to block requests to /core/install.php from unauthenticated users. * ModSecurity Example:
    SecRule REQUEST_URI "@rx ^/core/install\.php" \
                "id:100001,phase:1,deny,status:403,msg:'Blocked access to Drupal installer',log"

    3. Detection

  • Web Server Logs: Look for POST requests to /core/install.php from unauthenticated users.
  • * Log Pattern:
    POST /core/install.php?profile=standard HTTP/1.1
            Content-Type: application/x-www-form-urlencoded
  • Database Logs: Monitor for unexpected changes to the users table, particularly the creation of new admin accounts.
  • File System: Check for unexpected changes to settings.php or the creation of new modules in /modules.
  • ⚠️ Urgency

  • CVSS Score: 9.8 (Critical)
  • CISA KEV: Yes — Actively exploited in the wild.
  • Exploit Complexity: Low (unauthenticated, no special conditions required beyond the site being in an "unusual state").
Patching Priority: IMMEDIATE

Given the critical CVSS score, the CISA KEV listing, and the low complexity of exploitation, this vulnerability must be patched immediately. Organizations should:
1. Apply the latest Drupal Core patch as soon as it is available.
2. If patching is delayed, implement the WAF/web server restrictions to block access to /core/install.php.
3. Audit all Drupal sites for signs of compromise (e.g., unexpected admin accounts, modified files).
4. Rotate all credentials (admin, database, API keys) after patching, as they may have been compromised.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Drupal"
PoC & Exploit Intelligence (GitHub)
googlesky/CVE-2026-136716 ★ 1 Python 2026-11-30
Drupal core SA-CORE-2026-019 (CVE-2026-136716): installer reachable on an installed site lets an anonymous caller re-run install.php and take over user 1 — expl
Detection-only triage for Drupal core CVE-2026-132165 + CVE-2026-136716 (SA-CORE-2026-017/-019) — unauthenticated installer takeover, CISA KEV 2026-11-24. Grade
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-754
Affected Products (1)
drupal:drupal (all versions)
References & Advisories (1)
Related CVEs
0.0
CVE-2026-142163
Improper Restriction of Excessive Authentication Attempts vulnerability in Drupal E-mail OTP Login allows Brut
0.0
CVE-2026-142395
Deserialization of Untrusted Data vulnerability in Drupal Mail Safety allows Object Injection. This issue affe
0.0
CVE-2026-142396
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal M
0.0
CVE-2026-142397
Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerability in Drupal M
6.3
CVE-2026-144938
Improper Check for Unusual or Exceptional Conditions (CWE-754) in add-and-commit, in src/main.ts, from 5.0.0 b
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
10.0
CVE-2026-130609
Deserialization of untrusted data vulnerability in DİA Yazılım Sanayi ve Ticaret A.Ş. DİA ERP allows Cros