# Drupal core SA-CORE-2026-019 (CVE-2026-136716): detection pack

Pack 1.0.0, 26 Nov 2026 (Europe/London, GMT). Slot: `drupal-sa-core-2026-019-cve-2026-136716-pack-v1`.
SA-CORE-2026-019 is the follow-on to SA-CORE-2026-017 (CVE-2026-132165).

## Status and caveats

- The KQL in this pack has NOT been run against a live tenant. It is parse-checked against Microsoft Learn column lists
  only. Every hunt and Sigma rule is OUR PATTERN; items that depend on a connector or parser are [UNVERIFIED].
- KEV due dates bind US federal agencies only (BOD 26-04). Patch now regardless.
- Drupal publishes no indicators of compromise, request patterns, IPs, user-agent strings or file names. This pack
  invents none.
- The checkers are strictly read only and offline. They cannot see whether a site is in the vulnerable install state,
  whether `update.php` has run, or whether user 1 has been changed.

## Verified facts

Checked between 07:40 and 08:05 GMT on 26 Nov 2026 against saved copies of the sources listed at the end.

### Advisory SA-CORE-2026-019 (Drupal, 25 Nov 2026)

- Title: Drupal core, Highly critical (21/25), Access bypass, SA-CORE-2026-019. Date: 2026-November-25.
- Drupal's risk rating: Highly critical (21/25) AC:Basic/A:None/CI:All/II:All/E:Exploit/TD:Uncommon. The page prints
  the score with a division slash; this pack writes 21/25.
- Affected versions (Drupal): `<10.6.23 || >= 11.0.0 <11.3.23 || >=11.4.0 <11.4.14`.
- Fixed releases: 11.4.14 (11.4.x), 11.3.23 (11.3.x) and 10.6.23 (10.6.x). Drupal 11.2.x and below, Drupal 10.5.x and
  below, Drupal 8 and Drupal 9 are end of life and get no fix.
- Drupal requires `update.php` after updating: "An update hook must run to fix existing production sites in this state."
- Drupal says Drupal Steward protects this issue and SA-CORE-2026-017, but sites should still upgrade.

### What Drupal says (quotes)

- "If you have already secured the installer, you are not vulnerable."
- "certain sites in unusual or incomplete install states remain vulnerable to site takeover following that advisory,
  including production sites."
- "It is not apparent in the user interface if a site is in the affected vulnerable state, and sites that are already
  compromised may no longer be in the vulnerable state."
- "This is being exploited in the wild."
- "Any site that left its installer remotely accessible following SA-CORE-2026-017 may still have been compromised."
- "Check your site logs for unauthorized access, especially unexpected changes to or by the user 1 account."
- "Ensure the user 1 email address is set to something you control, and consider resetting user 1's password."
- "Strongly recommended: Follow the instructions for securing the Drupal installer on all new and existing sites."

### CVE record and NVD

- CVE.org: CNA Drupal, published 26 Nov 2026 00:44 GMT (public date 25 Nov 2026 17:04 GMT). Title matches the
  advisory. CWE-754 and CAPEC-87 (Forceful Browsing). The record has no CVSS metrics. Affected: "from 0.0.0 to 10.6.23,
  from 11.0.0 to 11.3.23, from 11.4.0 to 11.4.14" (semver ranges with the upper bound excluded).
- NVD: status Received, published 26 Nov 2026 01:17 GMT, no CVSS metrics of its own. No CVSS score exists for this
  CVE, so this pack gives none.
- The record credits named people. This pack names none: research is credited to security researchers only.

### Release notes (11.4.14, 11.3.23, 10.6.23, all 25 Nov 2026)

- Each lists SA-CORE-2026-019 as the security issue fixed.
- "Symfony has issued a security update today that is not included in this release." Drupal recommends updating Symfony
  along with the release.
- Twig is updated to v3.31.1 and a theme registry regression from the previous release is fixed.
- Security coverage: 11.4.x until April 2027; 11.3.x and 10.6.x until December 2026 when Drupal 11.5.0 is released.

### CISA KEV (catalogue 2026.11.25, released 25 Nov 2026 19:48 GMT)

- CVE-2026-136716 is not listed (checked 07:40 GMT on 26 Nov 2026).
- CVE-2026-132165 (SA-CORE-2026-017) is listed as "Drupal Core Remote Code Execution Vulnerability": added
  24 Nov 2026, due 27 Nov 2026, forensic triage Yes, ransomware use Unknown, CWE-636.

### Securing the installer (Drupal guide, dated 25 Nov 2026)

- The installer is `/core/install.php`. Drupal's three options: block it in the web server configuration (recommended),
  block it in `.htaccess` (Apache only), or remove the file. "Do both: remove the file and block it at the web server,
  so the installer cannot run even if one layer lapses."
- Apache: `<Location "/core/install.php">` with `Require all denied` in the server configuration, not in `.htaccess`.
- Nginx: `location ^~ /core/install.php { return 404; }`. Drupal warns against an exact match: "On those servers, an
  exact match does not block /core/install.php/foo, and the installer still runs."
- `.htaccess` is a Composer scaffold file and is replaced by `composer install`; Composer also puts
  `core/install.php` back after each install or update.
- "Blocking install.php does not affect updates." Do not block `update.php` by accident.

## Exploitation wording

Use exactly: Drupal says "This is being exploited in the wild." CVE-2026-136716 is not in CISA KEV as of the
2026.11.25 catalogue; SA-CORE-2026-017 (CVE-2026-132165) is. No other exploitation detail is published by Drupal.

## KEV and BOD 26-04

KEV's required action for CVE-2026-132165 points to BOD 26-04 and CISA's "Forensics Triage Requirements". KEV due dates
bind US federal agencies only (BOD 26-04). Patch now regardless. CVE-2026-136716 has no KEV entry yet.

## Mitigations

1. Update to 11.4.14, 11.3.23 or 10.6.23. Sites on end-of-life branches must move to a supported branch.
2. Run `update.php` (or `drush updatedb`). Drupal says the update hook must run to fix existing production sites.
3. Secure the installer on every site: block `/core/install.php` at the web server and remove the file. In Nginx use
   `location ^~`, not `location =`. Re-check after every Composer run.
4. Review Symfony updates, which the release does not include.
5. Treat any site whose installer was remotely reachable after SA-CORE-2026-017 as possibly compromised: collect
   evidence first, then follow Incident response below.

## Checkers (read only)

`scripts/check-drupal.sh` and `scripts/Check-Drupal.ps1` give identical output and exit codes (tested byte for byte).
They open no sockets, write no files and do not probe `install.php` over the network. They read only
`core/lib/Drupal.php` (or Drupal 7 `includes/bootstrap.inc`), `composer.lock`, `.htaccess` and the web server configs
you name, and report only version strings and rule verdicts. They never read or print `settings.php` (no database
credentials or hash_salt); for `settings.php` and `sites/default` they report POSIX mode and owner only. Symlinks are
not followed. Size limits: 1048576 bytes for version files, 8388608 bytes for composer.lock and configs.

```
check-drupal.sh [--path DIR]... [--version V] [--composer-lock FILE] [--web-user NAME]
                [--htaccess FILE]... [--apache-conf FILE]... [--nginx-conf FILE]...
pwsh Check-Drupal.ps1 (same options; -Path, -Version and so on also work)
```

| Exit | Verdict | Meaning |
| --- | --- | --- |
| 0 | FIXED | every version is 10.6.23, 11.3.23, 11.4.14 or later on that branch; run `update.php` |
| 2 | AFFECTED | at least one version is in a supported affected range |
| 3 | REVIEW | unparseable, pre-release, unlisted branch, or Drupal.php and composer.lock disagree |
| 4 | EOL | no supported affected version but at least one end-of-life one (Drupal 9 and below, 10.5.x and below, 11.2.x and below) |
| 5 | USAGE | bad option, missing or unreadable file, oversized file or symlink |

Exit 1 is not used. Priority: AFFECTED, then EOL, then REVIEW, then FIXED. A FIXED verdict does not prove that
`update.php` has run or that user 1 is unchanged; every run prints that note.

Install and config lines: `INSTALL_PHP` (core/install.php present or absent), `INSTALL_PHP_ROOT` (an install.php in
the Drupal root, printed only when present), `HTACCESS`, `APACHE` and `NGINX` (BLOCKED, PARTIAL, INCOMPLETE,
RULE_PRESENT or NO_RULE against Drupal's documented rules), `SITES_DEFAULT` and `WRITABLE_SETTINGS`.

Changes from the SA-CORE-2026-017 checker (copied, not modified): new thresholds; `update.php` in every verdict;
`INSTALL_PHP_ROOT`; an unreadable or oversized config now stops the bash run with exit 5 as PowerShell already did;
PowerShell now detects a symlinked `.htaccess` (hidden files need `-Force`).

## KQL hunts (`kql/drupal-sa-core-2026-019-hunting.kql`)

All OUR PATTERN; 11 hunts; MITRE IDs are ours.

- Q1 W3CIISLog installer requests, POSTs and 200 or 302 answers first
- Q2 CommonSecurityLog (WAF, proxy, load balancer) installer requests [UNVERIFIED FIELD use per vendor]
- Q3 AzureDiagnostics (Application Gateway, Front Door) installer requests [UNVERIFIED FIELD names]
- Q4 Syslog Apache or Nginx combined logs, installer requests [UNVERIFIED parse]
- Q5 Syslog follow-on: the same client then requests login, user 1, people, modules, config or update.php
- Q6 the same follow-on correlation for IIS
- Q7 Drupal syslog module user entries for uid 1 and session or password messages [UNVERIFIED layout and wording]
- Q8 web server or PHP process starting a shell, interpreter or download tool
- Q9 web server or PHP file writes: settings.php, PHP under sites/ or core/, .htaccess
- Q10 outbound public connections from web server or PHP processes and their child tools
- Q11 drush account commands and SQL against the users tables

## Sigma rules (`sigma/`)

Nine rules, all OUR PATTERN, `status: experimental`: installer request, installer POST, Linux and Windows web shell
children, Linux and Windows settings.php writes, PHP under sites/, drush account commands and PHP outbound connections.
Kusto conversions for five pipelines are in `sigma/converted/`. The two webserver rules do not convert under
microsoft_xdr, microsoft_365_defender, azure_monitor or sentinel_asim (no table mapping or field mapping for
cs-uri-stem); the failures are recorded in the converted files, and hunts Q1 to Q4 cover that ground.

## Tests

`tests/run_all.sh` runs shellcheck, PSScriptAnalyzer, the bash tests, Pester (bash and PowerShell compared byte for
byte), the static gates, the KQL parse check, sigma check and conversions, sandboxed runs with no network and a
read-only tree, and negative gates that plant faults and confirm the gates catch them. Set `REGEN=1` to rebuild the
Sigma conversions.

## Manual checks (no payloads)

From Drupal's guide; replace example.com with your site. All three should return 403 or 404:

```
curl -I https://example.com/core/install.php
curl -IL https://example.com/install.php
curl -I https://example.com/core/install.php/foo
```

Then confirm `update.php` (or `drush updatedb`) still works and has been run, and check user 1: the account's email
address and roles in the admin people list, recent log messages, and when its password last changed. Drupal's
hacked-site guide also suggests comparing the account's initial email with its current email in the database.

## Incident response

Drupal's steps with CISA's evidence-first order. For non-federal teams the CISA timelines are guidance.

1. Preserve evidence first. CISA: "Do not alter or remediate systems prior to evidence/artifact collection when
   possible." Drupal's hacked-site guide starts with "Make a forensic copy of the site": a snapshot, or the database
   and files, plus web server, WAF and proxy logs.
2. Look for installer traffic (Q1 to Q4) and follow-on activity (Q5 to Q7), especially POSTs and 200 or 302 answers.
3. Audit user 1 and every account with administrative roles: email, roles, status, recent logins. Drupal: "Ensure the
   user 1 email address is set to something you control, and consider resetting user 1's password."
4. Look for new or changed code and files (Q8 to Q10, the Sigma file rules); compare code with known good copies.
5. Update, run `update.php`, secure the installer, update Symfony, and end active sessions.
6. If the site was taken over, decide whether to rebuild from a known good backup (Drupal's step 6), and check other
   sites on the same server.

## MITRE ATT&CK

T1190, T1078, T1098, T1059 (T1059.001, .003, .004), T1505.003, T1105 and T1071. These mappings are ours, not Drupal's.

## Differences from Threat and Vuln finder's claims

1. Severity: confirmed as Drupal's Highly critical (21/25) with AC:Basic/A:None/CI:All/II:All/E:Exploit/TD:Uncommon.
   NVD and CVE.org have no CVSS, so no CVSS score or CVSS severity word may be used.
2. KEV: CVE-2026-136716 is not listed (catalogue 2026.11.25), as TVF said. TVF did not say that SA-CORE-2026-017
   (CVE-2026-132165) is listed, added 24 Nov 2026 with due date 27 Nov 2026 and forensic triage Yes.
3. Dates: the advisory is dated 25 Nov 2026; CVE.org published the record at 00:44 GMT and NVD received it at
   01:17 GMT on 26 Nov 2026.
4. Weakness: TVF gave no CWE. The record has CWE-754 (Improper Check for Unusual or Exceptional Conditions) and
   CAPEC-87 (Forceful Browsing); Drupal's type is Access bypass.
5. Affected ranges: confirmed. The CVE.org range starts at 0.0.0, so Drupal 7 and older sit inside the record's range
   with no fix; the advisory names only Drupal 8 and 9 and the 10.5.x and 11.2.x lines as end of life.
6. Release notes add a step TVF missed: the Symfony security update released the same day is not included in the
   Drupal releases.
7. Security coverage: 11.3.x and 10.6.x are covered only until December 2026 (Drupal 11.5.0); 11.4.x until April 2027.
8. Drupal Steward: the advisory says Steward mitigations protect against known attack vectors for this issue and
   SA-CORE-2026-017. TVF did not mention it.
9. Not vulnerable if secured: confirmed, but Drupal adds that sites whose installer was remotely accessible after
   SA-CORE-2026-017 may still have been compromised, so securing it now does not clear the past.
10. Securing the installer: the guide was updated on 25 Nov 2026. It recommends blocking at the web server and removing
    the file, warns that an Nginx exact match does not block `/core/install.php/foo`, and notes that Composer restores
    `.htaccess` and `core/install.php`.
11. Reactive steps: confirmed. Drupal also links its hacked-site guide.
12. The news report gives exposure figures attributed to a named firm and a nickname for SA-CORE-2026-017. Neither is
    verified or used here.

## Corrections for Webite builder

For the live page https://www.cybaverse.co.uk/threats/drupal-core-sa-core-2026-019-cve-2026-136716 (last updated
26 Nov 2026 07:52 GMT, read at 08:35 GMT). The page is accurate on versions, the 21/25 rating, no CVSS, the update.php
step and credits. These are the changes.

1. **Pack slot.** Attach pack v1 (`drupal-sa-core-2026-019-cve-2026-136716-pack-v1`) and replace the two notes that a
   pack is being prepared (Detection pack and Reactive sections) with a short pack summary.
2. **Headline and badge.** The page title uses Drupal's rating in lower case without the score, and the title and
   the badge state exploitation without saying who says so. Use Drupal's rating with 21/25 in the title and attribute
   the exploitation line to Drupal: Drupal says "This is being exploited in the wild."
3. **KEV for SA-CORE-2026-017.** Add that CVE-2026-132165 (SA-CORE-2026-017) is in CISA KEV, added 24 Nov 2026, due
   27 Nov 2026, forensic triage required. KEV due dates bind US federal agencies only (BOD 26-04). Patch now regardless.
   The page mentions KEV several times but never BOD 26-04.
4. **Exposure heading.** The Exposure card calls them unsupported install states. Use Drupal's wording, unusual or
   incomplete install states; unsupported suggests an end-of-life branch.
5. **How to block install.php.** Step 2 of Proactive names only the web server or WAF. Add Drupal's guide: block
   `/core/install.php` in the server config (Apache `Require all denied`; Nginx `location ^~`, not `location =`, which
   does not block `/core/install.php/foo`). Drupal says to do both: remove the file and block it at the web server. Link the guide.
6. **Composer restores the installer.** Add that `composer install` restores `.htaccess` and `core/install.php`, so
   re-check the block and removal after every deploy.
7. **Do not block update.php.** Add Drupal's note that blocking install.php does not affect updates and a broad rule
   must not block `update.php`.
8. **Symfony.** Add that the 25 Nov releases do not include the Symfony security update released the same day; Drupal
   recommends updating Symfony alongside.
9. **Coverage dates.** Add that 11.3.x and 10.6.x are covered only until December 2026 (Drupal 11.5.0) and 11.4.x
   until April 2027, so plan the next upgrade.
10. **Drupal 7.** The end-of-life row lists 11.2.x, 10.5.x, 8 and 9. The CVE record range starts at 0.0.0, so Drupal 7
    also sits in the range with no fix. Add it as end of life; whether it is exploitable is unverified.
11. **Weakness.** Add CAPEC-87 (Forceful Browsing) next to CWE-754, and Drupal's type, Access bypass.
12. **Credits.** Keep "security researchers" only. Name no reporter, firm, team or programme. Do not add the news
    report's exposure figures or its nickname for SA-CORE-2026-017.
13. **Our hunts.** When the pack is attached, say the KQL and Sigma are OUR PATTERN, some fields are UNVERIFIED, the
    KQL has not been run in a live tenant, and the checkers are read only and cannot see whether update.php ran.
14. **Downloads.** HubSpot blocked the standalone hunting.kql upload last time; offer the KQL inside the zip or as a
    .txt file.

## [UNVERIFIED]

- The KQL has not been run against a live tenant.
- Syslog combined log parse (Q4, Q5): log layouts vary.
- CommonSecurityLog and AzureDiagnostics field use per vendor and connector (Q2, Q3).
- Drupal syslog module layout and the message wording in Q7.
- Which "unusual or incomplete install states" are affected; Drupal does not define them.
- Exploit requests, payloads and post-exploitation behaviour: Drupal publishes none.
- Whether Drupal 7 is exploitable: the record's range includes it, the advisory does not discuss it.
- Whether the update hook repairs a site that was already taken over (Drupal says it fixes sites in the state).
- Drupal Steward mitigation details (not public).
- Whether a given managed host already blocks the installer.
- The admin paths in Q5, Q6 and the manual checks are standard Drupal paths, not taken from the advisory.
- Exposure figures in the news report.

## Sources

- https://www.drupal.org/sa-core-2026-019
- https://www.drupal.org/sa-core-2026-017
- https://www.drupal.org/project/drupal/releases/11.4.14
- https://www.drupal.org/project/drupal/releases/11.3.23
- https://www.drupal.org/project/drupal/releases/10.6.23
- https://www.drupal.org/docs/administering-a-drupal-site/security-in-drupal/securing-the-installer-installphp
- https://www.drupal.org/docs/develop/security/your-drupal-site-got-hacked-now-what
- https://www.cve.org/CVERecord?id=CVE-2026-136716
- https://nvd.nist.gov/vuln/detail/CVE-2026-136716
- https://www.cve.org/CVERecord?id=CVE-2026-132165
- https://nvd.nist.gov/vuln/detail/CVE-2026-132165
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
- https://thehackernews.com/2026/11/drupal-warns-of-new-highly-critical.html (news report; used only for comparison)
- https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/w3ciislog
- https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/commonsecuritylog
- https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/syslog

## Credits

Research is credited to security researchers only.
