Skip to navigation

Threat reportVulnerabilityTL-2026-6970

Drupal Core install.php Remote Code Execution Vulnerability (CVE-2026-132165, SA-CORE-2026-017)

highACTIVE

Drupal core's bundled installer (/core/install.php) can, under specific conditions, be abused by unauthenticated attackers to reinstall an already-installed site, replace administrator accounts and take over the site or achieve remote code execution. Drupal's advisory reports exploitation on live sites as early as 2026-11-19 19:00 UTC; fixes shipped 2026-11-18 in 10.6.22, 11.3.22 and 11.4.13. First disclosed .

Key facts

IdentifiersTL-2026-6970, CVE-2026-132165, CVE-2026-132166
Also known asSA-CORE-2026-017, ANT-2026-GMRPK0BU, Drupal installer reinstall RCE
SeverityHIGH
CVSS8.1
First disclosed
Exploitation statusLinked CVE exploited in the wild; Listed in CISA KEV: CVE-2026-132165 (added )
Affected productsDrupal Drupal Core
Weaknesses (CWE)CWE-306
MalwarePHP, core
ToolsAnthropic OSS Scanner
MITRE ATT&CK techniquesT1005 Data from Local System, T1059 Command and Scripting Interpreter, T1098 Account Manipulation, T1136 Create Account, T1190 Exploit Public-Facing Application, T1531 Account Access Removal, T1565.001 Stored Data Manipulation
MotivationUNKNOWN
Target sectorsgovernment administration, education, news - media, nonprofit, commerce
Target regionsGlobal
Detection rules9 (1 shown free)
Sources10 cited sources

Detection coverage

As of 2026-11-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6970 across Splunk SPL, Microsoft KQL and Sigma, covering 10 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Web Server Worker Spawning Shell or Download Tool — Drupal RCE Follow-On (CVE-2026-132165)

Detects Sysmon-for-Linux process-creation events where a PHP/web server worker (php-fpm, apache2, httpd, nginx, php-cgi) spawns a shell, interpreter or download tool (sh, bash, dash, curl, wget, nc, python3, perl). Covers command execution after CVE-2026-132165 site takeover/RCE and staging of additional tooling. Web workers rarely spawn interactive shells on a healthy Drupal host.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1059.004, T1190, T1105
  • Data sources: sysmon_for_linux (index=linux, sourcetype=sysmon:linux), DeviceProcessEvents, linux process_creation telemetry (auditd execve)
  • Severity: critical
  • Confidence: high

Splunk SPL

index=linux sourcetype="sysmon:linux" EventCode=1 (ParentImage="*/php-fpm*" OR ParentImage="*/apache2" OR ParentImage="*/httpd" OR ParentImage="*/nginx" OR ParentImage="*/php-cgi") (Image="*/sh" OR Image="*/bash" OR Image="*/dash" OR Image="*/curl" OR Image="*/wget" OR Image="*/nc" OR Image="*/ncat" OR Image="*/python3" OR Image="*/perl")
| eval tool=case(match(Image,"/(curl|wget)$"),"download_tool", match(Image,"/(nc|ncat)$"),"netcat", true(),"shell_or_interpreter")
| stats count, values(CommandLine) AS command_lines, values(Image) AS images, values(ParentImage) AS parents, min(_time) AS first_seen BY host, User, tool
| convert ctime(first_seen)

Microsoft KQL

DeviceProcessEvents
| where Timestamp > ago(24h)
| where InitiatingProcessFileName in~ ("php-fpm", "php-fpm8.2", "php-fpm8.3", "php-fpm8.4", "apache2", "httpd", "nginx", "php-cgi")
| where FileName in~ ("sh", "bash", "dash", "curl", "wget", "nc", "ncat", "python3", "perl")
| extend Tool = case(FileName in~ ("curl", "wget"), "download_tool", FileName in~ ("nc", "ncat"), "netcat", "shell_or_interpreter")
| project Timestamp, DeviceName, Tool, InitiatingProcessFileName, FileName, ProcessCommandLine, AccountName

Sigma

title: Web Server Worker Spawns Shell or Download Tool - Drupal RCE Follow-On
id: 2b6c9f35-e804-4a1d-8c57-f3a1d7b60e92
status: experimental
description: Detects a PHP-FPM, Apache, nginx or php-cgi worker spawning a shell, interpreter or download utility on Linux. Indicates command execution after exploitation of an internet-facing application such as Drupal (CVE-2026-132165).
references:
  - https://www.drupal.org/sa-core-2026-017
  - https://nsfocusglobal.com/drupal-remote-code-execution-vulnerability-cve-2026-132165-advisory/
  - https://www.drupal.org/docs/administering-a-drupal-site/security-in-drupal/securing-the-installer-installphp
author: Threadlinqs Team
date: 2026/11/27
tags:
  - attack.initial-access
  - attack.t1190
  - attack.execution
  - attack.t1059.004
  - attack.command-and-control
  - attack.t1105
  - cve.2026.132165
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|endswith:
      - '/apache2'
      - '/httpd'
      - '/nginx'
      - '/php-cgi'
  selection_parent_fpm:
    ParentImage|contains: '/php-fpm'
  selection_child:
    Image|endswith:
      - '/sh'
      - '/bash'
      - '/dash'
      - '/curl'
      - '/wget'
      - '/nc'
      - '/ncat'
      - '/python3'
      - '/perl'
  condition: (selection_parent or selection_parent_fpm) and selection_child
falsepositives:
  - Applications that deliberately shell out from PHP (image processing, PDF generation, git or drush calls)
  - Health-check scripts executed by the web server
level: high

Known false positives:

  • Modules that legitimately call shell utilities (ImageMagick, wkhtmltopdf, drush) through PHP exec()
  • Monitoring scripts launched by the web server user

Tuning notes: Baseline legitimate child processes per site for 7 days and exclude exact parent/child/command-line triples. Tighten by alerting only when the user is www-data/apache/nginx and the command line contains network or encoding utilities. Correlate with installer access (SPL-001) on the same host.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • Drupal Installer Task-State Progression and Write Requests — Reinstall Flow (CVE-2026-132165) · unlock with TL Creds
  • Drupal [indicator] Tampering, Permission Change or Credential Read by Web Worker — Reinstall Precondition and Artifact · unlock with TL Creds
  • Web Worker or Child Process Outbound Connection to Public IP on Non-Standard Port — Post-Takeover Command and Control · unlock with TL Creds
  • Drupal Installer Path-Variant Requests ([indicator]/<suffix>, encoded separators) — Block Bypass Attempt · unlock with TL Creds
  • PHP File Dropped into Drupal Writable Paths by Web Worker — Web Shell Persistence After Takeover · unlock with TL Creds
  • Reverse Shell or Download-and-Execute Command Line Spawned by Web Worker — Drupal RCE Payload Staging · unlock with TL Creds
  • Drupal [indicator] Reachable on Installed Site — CVE-2026-132165 Installer Reinstall Probing and Exploitation · unlock with TL Creds
  • Drupal Administrator Account Created, Deleted or Blocked in Short Window — Account Replacement After Reinstall · unlock with TL Creds

Indicators of compromise

As of 2026-11-27, Threadlinqs Intelligence tracks 10 indicators of compromise for TL-2026-6970.

10 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

CVE-2026-132165 (Drupal SA-CORE-2026-017, 'Highly critical' 20/25 on Drupal's risk scale, AC:Complex/A:None/CI:All/II:All/E:Exploit/TD:Uncommon) affects the installer script that ships with every copy of Drupal core as /core/install.php and remains on disk after installation. Core's default .htaccess rules do not block it. NSFOCUS CERT describes the root cause as the installer improperly validating installation task states on already-installed sites under specific conditions. Drupal states that an attacker can use the installer to attempt to reinstall Drupal, which can lead to site takeover or remote code execution. At least one exploit path can be used by anonymous users. Drupal says some, but not all, exploit paths are mitigated if the web server cannot write to or change permissions on settings.php. NSFOCUS lists the risk condition as an affected version where core/install.php is externally accessible or the web server can write to or modify permissions on settings.php, and states that details and a PoC are public. NSFOCUS gives a CVSS score of 8.1 without publishing a vector; Drupal rates exploit complexity as complex and affected configurations as uncommon.

Exploitation status: the Drupal advisory carries an update that the Security Team received a report the flaw was exploited on live sites as early as 2026-11-19 19:00 UTC, and the advisory's exploit-maturity field is 'Exploit' (documented or deployed exploit code exists). NSFOCUS (2026-11-27) states active exploitation in the wild has been observed. Early press coverage (BleepingComputer and The Hacker News, 2026-11-19; SecurityOnline 2026-11-18) predates or does not reflect this update and reported no confirmed attacks; the advisory is treated as authoritative. No source publishes attacker infrastructure, IPs, user agents, request logs, dropped files, malware families or attribution.

Discovery: the flaw was found by Anthropic's OSS Scanner and tracked as ANT-2026-GMRPK0BU; reporters credited on the advisory include Lee Rowlands, Pamela Barone, Scott Euser, Stephan Zeidler and Tyler Nighswander. Drupal Steward (managed WAF-style protection) covers known attack vectors but customers are still told to upgrade, since alternative attack paths may exist.

Companion issue: SA-CORE-2026-018 / CVE-2026-132166 (Moderately critical 14/25, exploit maturity Theoretical) is a gadget chain in core that is not directly exploitable on its own; it requires a separate vulnerability allowing unsafe input to unserialize(), and administrator privileges. It was fixed in the same releases. It is related but is not the installer flaw and no exploitation of it is reported.

Affected: Drupal core < 10.6.22; >= 11.0.0 and < 11.3.22; >= 11.4.0 and < 11.4.13. Drupal 11.2.x and below and 10.5.x and below, and Drupal 8/9, are end-of-life with no security coverage (NSFOCUS notes they may also be affected). CWE: Drupal lists none; SecurityOnline maps CWE-306 (unverified third-party mapping).

MITRE ATT&CK techniques by tactic:

Collection

T1005 Data from Local System

Execution

T1059 Command and Scripting Interpreter

Persistence

T1098 Account Manipulation; T1136 Create Account

Initial Access

T1190 Exploit Public-Facing Application

Impact

T1531 Account Access Removal; T1565.001 Stored Data Manipulation

Remediation

Patches

  • Drupal 11.4.x: 11.4.13
  • Drupal 11.3.x: 11.3.22
  • Drupal 10.6.x: 10.6.22

Immediate actions

  • Upgrade Drupal core to 11.4.13, 11.3.22 or 10.6.22 (matching your branch)
  • If you cannot upgrade immediately, block /core/install.php at the web server (Apache server config: <Location "/core/install.php"> Require all denied; Nginx: location ^~ /core/install.php { return 404; } - do not use an exact-match location)
  • Verify blocking: /core/install.php, /install.php (redirect) and /core/install.php/foo must all end in HTTP 403 or 404
  • Review web logs since 2026-11-18 for requests to install.php on installed sites, and audit administrator accounts and site configuration for unexpected changes

Workarounds

  • Deny access to /core/install.php in server config (preferred) or via .htaccess <Files "install.php"> Require all denied (requires AllowOverride AuthConfig; Composer scaffold may overwrite .htaccess)
  • Ensure the web server cannot write to or change permissions on settings.php (mitigates some but not all paths)
  • Do not block update.php by accident when restricting installer paths

Longer-term hardening

  • Keep the installer blocked or removed after installation even on patched sites (Drupal Security Team recommendation), e.g. rm -f web/core/install.php via Composer post-install-cmd and post-update-cmd
  • Migrate end-of-life branches (Drupal 8/9, 10.5.x and below, 11.2.x and below) to a supported release
  • Run the web server user without write or chmod rights on settings.php
  • Consider Drupal Steward protection as defence in depth

Affected and fixed versions

  • Drupal — Drupal Core
    Vulnerable versions: < 10.6.22; >= 11.0.0 < 11.3.22; >= 11.4.0 < 11.4.13; EOL: 10.5.x and below, 11.2.x and below, Drupal 8, Drupal 9 (no fix; may be affected)
    Fixed in: 10.6.22; 11.3.22; 11.4.13

Timeline

  • Anthropic's OSS Scanner, which later discovers this flaw, launches; it sends findings to maintainers with a reproducer and, where available, a candidate patch (The Hacker News).
  • Context: Drupal patches an earlier critical core RCE (Field UI flaw), making this the second critical core RCE in about two months (The Hacker News).
  • Drupal publishes SA-CORE-2026-017 (CVE-2026-132165) and SA-CORE-2026-018 (CVE-2026-132166) and releases Drupal 11.4.13, 11.3.22 and 10.6.22; advisory warns exploits may follow within hours or days.
  • BleepingComputer, The Hacker News and The Drop Times report the patch; early coverage reports no confirmed attacks and an existing proof-of-concept.
  • Per an update on the Drupal advisory, the Security Team received a report that CVE-2026-132165 was exploited on live sites as early as 2026-11-19 19:00 UTC.
  • Drupal updates its 'Securing the installer (locked-ioc-2)' documentation with Apache, Nginx, .htaccess and file-removal guidance.
  • NSFOCUS CERT publishes its advisory stating details and a PoC are public, active exploitation has been observed, and CVSS 8.1.

Sources cited

Other reports on CVE-2026-132165

Drafted by the Threadlinqs research pipeline from 10 sources; published ; last updated —.

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats