CISA added CVE-2026-132165 on November 24, 2026 for Drupal core remote code execution through core/install.php. Drupal SA-CORE-2026-017 rates the flaw Highly critical (20/25) and states the Security Team received a report of exploitation on live sites as early as 2026-11-19 19:00 UTC. Patch lines are Drupal 10.6.22, 11.3.22, and 11.4.13.
If a coding agent opened a “quick Drupal demo” in Docker last month, your risk is not the model—it is whether install.php is still reachable and whether composer.json still pins a vulnerable core.
| Question | Answer |
|---|---|
| Am I affected? | Yes if core is before 10.6.22, 11.0.0–11.3.21, or 11.4.0–11.4.12 |
| Is there a fix? | Upgrade to patched releases; block install.php if you cannot upgrade immediately |
| Exploited in the wild? | Reported to Drupal Nov 19 UTC; CISA KEV Nov 24 |
| KEV due date | 2026-11-27 with forensic triage |
| Does data leave my machine? | No—this is internet-facing PHP on servers agents help you deploy |
Mechanism step by step
From SA-CORE-2026-017:
- Every Drupal site ships
install.phpincore/for first-time setup. Default.htaccessrules do not remove it after go-live unless you harden the server. - Under specific conditions, an unauthenticated caller can use the installer to attempt a reinstall on an existing database and filesystem layout.
- That path can escalate to site takeover or remote code execution when the web server can write or chmod
settings.phpand related install assumptions hold.
Drupal notes some exploit paths are mitigated when the web server cannot write to settings.php. That is common on well-hardened hosts but not on default dev stacks agents generate.
The advisory also credits Anthropic's OSS Scanner (internal id ANT-2026-GMRPK0BU). That matters for agent operators because the same automated scanners that found this flaw are increasingly wired into CI review bots—your repo may get a Drupal bump PR before marketing notices the CMS version.
Relationship to SA-CORE-2026-018
The same release train (10.6.22 / 11.3.22 / 11.4.13) includes SA-CORE-2026-018 / CVE-2026-132166, a moderately critical gadget chain that is not directly exploitable alone but can amplify deserialization flaws. If an agent only bumps “the RCE CVE,” ensure the full core version matches the advisory—not a partial cherry-pick.
CISA KEV context
The KEV catalog entry names CWE-636 (Not Failing Securely) and assigns due date 2026-11-27 with forensic triage: Yes under BOD 26-04.
Federal patch boards often move faster than marketing site owners. If your docs site runs Drupal on a neglected subdomain, KEV is the signal that exploit code is not theoretical even when Drupal’s own risk scale still lists AC:Complex and TD:Uncommon.
Drupal Steward (paid WAF) blocks some attack vectors per the advisory, but Drupal still says upgrade in the near future because new vectors may appear.
What this means if you run AI coding agents
Drupal rarely sits inside Claude Code itself, but it is a frequent output of “spin up a CMS” prompts:
| Agent behavior | What to verify |
|---|---|
docker compose with drupal:11 floating tag | Pin digest or 11.4.13 explicitly |
| Terraform Helm charts copied from tutorials | install.php location and ingress rules |
| “Secure Drupal” skill without version floor | Reject PRs that lower drupal/core-recommended |
| WebFetch against staging URLs | Staging often mirrors prod misconfigs |
Commands to run today
Version in repo:
composer show drupal/core-recommended | grep versions
Production exposure (from outside your VPN):
curl -sI "https://YOUR-SITE/core/install.php" | head -5
Find install.php references agents added:
grep -R "install.php" docker nginx apache .github
If you run PHP-FPM pools for multiple tenants, add this alongside PHP2Shell runtime patches—installer bugs and interpreter memory bugs stack on the same hosts.
Logging and forensics
CISA’s forensic triage expectation means web server access logs on /core/install.php matter. Correlate anonymous POST/GET bursts with deploy timestamps when an agent “fixed permissions” on sites/default.
What Beam can and cannot do here
Beam watches local agent tool use—shell, file writes, MCP calls—for credential exposure and destructive patterns on the workstation running Claude Code or Codex. It does not sit in front of your public Drupal vhost and cannot block internet POSTs to install.php.
Where Beam still helps:
- PreToolUse deny can stop an agent from
curlexfiltrating production database dumps after a compromise, but only when policy is cached (fail-open if missing). - Skill and MCP scans catch deployment scripts that embed production admin passwords agents paste into compose files—common second-stage targets after RCE.
For workstation-focused hardening, see agent monitoring basics and permission boundaries.
Hardening beyond the version bump
Drupal’s advisory recommends securing the Drupal installer after installation. Typical patterns:
- Web server deny for
/core/install.phpand/core/authorize.php. - File permissions so the web user cannot write
settings.phpin production. - Remove installer routes from load balancer health checks—agents sometimes point monitors at the wrong path.
Pair with November KEV volume context so your triage queue does not treat Drupal as “just CMS” while deserialization KEVs pile up on the same Docker host.
Timeline: advisory to KEV
Understanding when facts landed helps you prioritize agent-generated backlog items:
| Date (UTC) | Event |
|---|---|
| Nov 18, 2026 | SA-CORE-2026-017 published; fixed releases 10.6.22, 11.3.22, 11.4.13 ship |
| Nov 19, 2026 ~19:00 | Drupal Security Team updates advisory: exploitation reported on live sites |
| Nov 19, 2026 | France's CERT-FR advisory CERTFR-2026-AVI-1579 bundles SA-CORE-2026-017 and -018 for national CSIRT subscribers |
| Nov 24, 2026 | CISA KEV listing; due Nov 27 for BOD-covered entities |
If your agent opened a “Drupal security” ticket on Nov 18 but nobody merged the Composer bump before Nov 19 evening, assume exposure overlap and plan forensics, not only composer update.
Securing install.php when upgrades slip
Drupal’s securing the installer documentation is the vendor-endorsed bridge between “we cannot upgrade tonight” and “we are not naked on the internet.” Typical patterns teams apply:
- Apache
LocationMatchor nginxlocation =denying/core/install.phpand/core/authorize.phpfor non-management networks. - IP allow lists so only bastion or VPN ranges reach installer URLs—even when marketing insists on public marketing site on the same hostname (split vhosts).
- Filesystem permissions where the web user cannot chmod
sites/default/settings.php; document that agents must not “fix” permission errors by wideningsettings.phpto world-writable.
Agents love one-liner chmod 777 “fixes” in README snippets. Treat those as merge blockers equal to a failing unit test.
Staging clones agents forget
A common pattern: developer asks Codex to “copy prod Drupal to staging.” The rsync includes sites/default/files and settings but skips hardening that ops applied manually on prod five years ago. Staging then exposes install.php on a staging.example.com host that still has real database snapshots. KEV pressure applies to staging if it is internet-routable—NCSC’s forgotten-asset theme applies here too.
Forensics under BOD 26-04
CISA marks forensic triage: Yes. For Drupal specifically, preserve:
- Web server access logs for
/core/install.phpand/core/authorize.php(query strings matter—agents sometimes log only path). - PHP-FPM slow logs around first exploitation report window (Nov 19 UTC onward if you lack precise timestamps).
- Git/deploy logs showing whether an agent or human reintroduced old core
composer.lockhashes.
Drupal does not ship a single IOC string in the public advisory; triage is behavioral (installer abuse) plus version proof.
When coding agents browse Drupal as users
Separate from server RCE: developers whose agents WebFetch or browser-automate Drupal admin UIs should still practice session hygiene. Installer RCE does not require your laptop—but stolen session cookies after takeover do affect anyone with admin tabs open.
Composer and container pinning discipline
composer update drupal/core-recommended is the authoritative fix path. In containers:
# Prefer immutable pins — agents should not float "drupal:11"
FROM drupal:11.4.13-apache
If agents maintain Helm values, grep for image.tag: "latest" and replace with patch-level tags tied to the advisory. Document acceptance tests: external install.php probe returns 403/404, and drush status shows ≥ patched version.
Why Anthropic’s OSS Scanner matters for agent governance
The advisory credits Anthropic OSS Scanner for discovery. That is a signal that vendor-scale scanners are now in the same supply chain as your claude-code PR reviews. Align internal policy:
- Fail CI when scanner IDs like ANT-* appear in exported reports attached to tickets.
- Do not assume “scanner found it, so we can wait for Composer’s weekly bot”—KEV moves federal and insurance timelines to 72 hours.
Related reading
- Apache Roller CVE-2026-129448 KEV deserialization — another pre-auth Java/CMS path agents scaffold
- PHP2Shell and EOL runtimes — patch PHP the same week you patch Drupal core
- CVE volume record in 2026
- Beam landing: what we watch locally
Multisite and profile-specific pitfalls
Drupal multisite trees share a single core/ directory. An agent that upgrades only site-a database while leaving shared core stale leaves every vhost on the vulnerable installer. drush updatedb per site is not enough without composer update at the repo root that owns core/.
Install profiles and distribution tarballs agents download from Drupal.org sometimes pin older cores in hidden composer.lock files. Diff those locks on any “Try Drupal” PR.
Run drush pm:security (or composer audit when available on your stack) after every agent merge touching composer.lock. The command output is easier to attach to compliance tickets than a chat transcript.
If your team uses config_sync exported to Git, verify agents did not strip installer hardening from .htaccess snippets in sites/default. Diff noise in those files is usually human abandonment, not model creativity—still block merge until reviewed.
SaaS and managed hosting notes
Managed hosts may block install.php globally—verify with support rather than assuming. Conversely, PaaS one-click Drupal images rebuild weekly; if your agent pins drupal:11-apache without digest, you may drift back to vulnerable layers after autoscaling events.
Related to CVE-2026-132166
Do not stop at the installer RCE fix line. The same tarball includes CVE-2026-132166 (gadget chain). Security champions should reference both CVE ids in the same change ticket so partial cherry-picks do not pass review.
Keep install.php probes in synthetic monitoring after patch Tuesday—even when agents stop touching Drupal, config drift reopens the path without a semver change.
Frequently asked questions
What is CVE-2026-132165?
Unauthenticated remote code execution through Drupal’s installer when an attacker can abuse install.php on a live site under the conditions Drupal documents in SA-CORE-2026-017.
Is install.php supposed to stay online after go-live?
No for production. Drupal ships the file for setup, then expects operators to secure or block it. Many breaches are forgotten staging clones that agents spin up and never retire.
Should I upgrade Drupal 11.4.12 tonight?
Yes, if the site is internet-facing. Move to 11.4.13 (or the matching line for your minor version) and verify install.php returns 403/404 externally.
Does Claude Code patch Drupal for me?
Only if you merge the PR and run Composer on the server. Beam does not auto-patch remote CMS hosts; track agent-proposed version bumps like any other supply-chain change.
Is Drupal still relevant in 2026 for security teams?
Drupal remains widely used in government and higher-education properties. “Niche” does not mean “skip KEV”—agents make niche stacks cheap to stand up and easy to forget.
Drupal version numbers, KEV due dates, and advisory text are accurate as of November 24, 2026 UTC.

