# Drupal core patches deserialization, install.php flaws

Published: 2026-11-18 · Severity: routine · Sectors: Technology
Canonical: https://vorant.io/reports/719772ba-0d13-53ea-93c5-ef28db0c7069/drupal-core-patches-deserialization-install-php-flaws
Vorant's rating weighs the evidence in the report: confirmed exploitation, victims claimed, CVSS and EPSS, and how many sources agree. It rates the report, not your assets.

> Drupal core fixed an unsafe deserialization gadget chain and an install.php flaw that could enable RCE or site takeover.

Source: advisories.ncsc.nl — https://advisories.ncsc.nl/2026/ncsc-2026-0507.html

## What to check

- Applies to: The 2 CVEs named below. Whether you run an affected version is not assessed: check the versions the source lists.
- Exploitation: No exploitation in the wild and no public exploit is recorded for the CVEs named.

NCSC-NL published an advisory covering two vulnerabilities patched in Drupal core. The first is an insecure deserialization gadget chain; it is not directly exploitable on its own but, when combined with another flaw allowing deserialization of untrusted input, can lead to remote code execution. The second issue affects the install.php script, which under certain conditions can be abused to re-trigger site installation if the installer was not properly secured or removed after initial setup, potentially allowing an attacker to bypass authentication and configuration controls and execute arbitrary code or take over the site.

Drupal has released updates addressing both issues. No specific CVE identifiers, affected version ranges, or evidence of active exploitation were included in the advisory text. Defenders running Drupal should apply the vendor's updates and verify that install.php and related installer scripts are removed or properly access-restricted post-deployment, and should review code for unsafe deserialization usage in custom or contributed modules.

## Mentioned in this report

- Vulnerabilities: CVE-2026-132165, CVE-2026-132166

## Detection guidance (public sample)

### Web Request to Drupal install.php Returning Success on a Deployed Site

ATT&CK: T1190

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs webserver logs. Status: experimental. Generated from the report; not run against telemetry.

Detects successful HTTP requests to Drupal install.php (core/install.php or legacy /install.php), which can re-trigger site installation if the installer was left accessible. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: Web Request to Drupal install.php Returning Success on a Deployed Site
description: Detects HTTP 200 responses for Drupal installer script requests. On an
  already installed site the installer should be removed or blocked, so a successful
  response suggests re-installation abuse or an exposed installer. Outside of initial
  deployment this should not occur.
tags:
- attack.initial-access
- attack.t1190
logsource:
  category: webserver
detection:
  selection:
    cs-uri-stem|endswith:
    - /core/install.php
    - /install.php
    sc-status: 200
  selection_params:
    cs-uri-query|contains:
    - op=start
    - profile=
    - rewrite=ok
  condition: selection and selection_params
falsepositives:
- Legitimate first-time installation of a new Drupal site before the installer is
  removed
- Authorised staging or CI rebuilds that run the Drupal installer over HTTP
level: medium
id: 1ab6420e-14cc-541e-b91b-7e00e2b0f4e8
status: experimental
author: Vorant
references:
- https://advisories.ncsc.nl/2026/ncsc-2026-0507.html
```

### Linux Web Server Process Spawning Shell With Reconnaissance or Download Commands

ATT&CK: T1059.004

A behavioural hunt for the technique in general, not a signature for the CVEs this report names. Needs linux process_creation logs. Status: experimental. Generated from the report; not run against telemetry.

Detects PHP/web server processes (as would host Drupal) spawning a shell that runs recon or payload-download commands, typical of post-exploitation after deserialization or installer RCE. Auto-generated starting point — validate and tune in your environment before deploying. IOC matches can false-positive on shared infrastructure and decay as adversary infrastructure rotates.

```yaml
title: Linux Web Server Process Spawning Shell With Reconnaissance or Download Commands
description: Detects a web server or PHP handler spawning sh/bash with a command line
  containing typical post-exploitation commands such as whoami, id, uname, reading
  /etc/passwd, or curl/wget piped to a shell. Relevant to RCE following PHP object
  deserialization or Drupal installer abuse.
tags:
- attack.execution
- attack.t1059.004
- attack.initial-access
- attack.t1190
logsource:
  category: process_creation
  product: linux
detection:
  selection_parent:
    ParentImage|endswith:
    - /php-fpm
    - /php-fpm7
    - /php-fpm8
    - /php-cgi
    - /apache2
    - /httpd
    - /nginx
  selection_child:
    Image|endswith:
    - /sh
    - /bash
    - /dash
  selection_cmd:
    CommandLine|contains:
    - whoami
    - uname -a
    - /etc/passwd
    - 'curl '
    - 'wget '
    - /dev/tcp/
    - base64 -d
  condition: selection_parent and selection_child and selection_cmd
falsepositives:
- Admin web panels or deployment hooks that shell out to curl or wget from PHP
- Monitoring scripts invoked by the web server user that run uname or whoami
level: medium
id: 6b31bfa7-03eb-5127-a16d-65807442df99
status: experimental
author: Vorant
references:
- https://advisories.ncsc.nl/2026/ncsc-2026-0507.html
```

Behavioural rules are generated from public reporting — validate in your environment before deploying.

Source reporting: https://advisories.ncsc.nl/2026/ncsc-2026-0507.html

---

This is the free public brief from Vorant Threat Intelligence. When citing, attribute "Vorant" and link https://vorant.io/reports/719772ba-0d13-53ea-93c5-ef28db0c7069/drupal-core-patches-deserialization-install-php-flaws.
In the app the same report carries its Sigma rules (and on a paid plan the Splunk SPL already written, plus Elastic and Microsoft KQL where they apply) and live profiles of the CVEs it names. A free account in the app opens every report of the last 30 days, the security research and news included; the paid plans add the archive, what to hunt, the investigations and the rules as SIEM queries. Slack alerts on the vendors, sectors and countries a reader follows come with the paid plans too. A new account starts with a five-day trial, no card: https://vorant.io/signup
