Drupal’s security team says a second critical installer vulnerability, CVE-2026-136716, is being exploited in the wild to hijack vulnerable sites, including production installations left in unusual or incomplete states. The new flaw follows CVE-2026-132165, the installer re-run bug patched on November 18, 2026, which Drupal now says was exploited on live sites as early as November 19, 2026 at 19:00 UTC. CVE-2026-136716 is fixed in Drupal 10.6.23, 11.3.23, and 11.4.14, and existing production sites in the affected state must also run update.php. Administrators who cannot patch immediately should block /core/install.php and audit the user 1 account and site logs.
At a glance
| CVE-2026-132165 | CVE-2026-136716 | |
|---|---|---|
| Advisory | SA-CORE-2026-017 | SA-CORE-2026-019 |
| Class | Remote code execution; CWE-306 | Access bypass leading to site takeover |
| Affected versions | <10.6.22, >=11.0.0 <11.3.22, >=11.4.0 <11.4.13 | <10.6.23, >=11.0.0 <11.3.23, >=11.4.0 <11.4.14 |
| Fixed versions | 10.6.22, 11.3.22, 11.4.13 | 10.6.23, 11.3.23, 11.4.14 |
| Drupal risk score | 20/25, Highly critical | 21/25, Highly critical |
| Exploitation | Live sites as early as 2026-11-19 19:00 UTC | Exploited in the wild |
What changed after the first patch
The first advisory, SA-CORE-2026-017, appeared on November 18, 2026 and covered CVE-2026-132165, rated 20/25 and Highly critical. Drupal initially did not mark the issue as exploited, then updated the advisory after receiving a report of live-site exploitation as early as 19:00 UTC on November 19, 2026. The bug let anonymous users run the installer again on an affected site, which could lead to site takeover or remote code execution. Drupal credits Anthropic’s OSS Scanner (ANT-2026-GMRPK0BU) with discovering the flaw.
The follow-up, SA-CORE-2026-019, arrived on November 25, 2026 and carries CVE-2026-136716. Drupal rates it 21/25 and Highly critical, labels it an access bypass, and warns that it can still result in site takeover. The advisory frames the problem as a gap left by the first repair: some sites remained vulnerable after SA-CORE-2026-017.
That gap is difficult to spot. Drupal says the user interface does not reveal whether a site is in the affected state, and a site that has already been compromised may no longer be in it. Drupal cautions that if a site left the installer reachable after SA-CORE-2026-017, compromise remains possible even if the site now looks normal. The security team has not yet published further details about the attacks themselves.
Technical background: why a reachable installer is dangerous
install.php exists to create a Drupal site. After installation it has no routine role, which is why Drupal’s hardening guidance recommends blocking it. The first vulnerability sat in that script’s reinstall logic. The public lab’s root-cause analysis says the installer did not reliably distinguish a genuine fresh installation from a reinstall over an existing production site. When the web server could also write settings.php, an anonymous re-run could replace site configuration and reach code execution.
The modeled path is straightforward:
# pre-fix (SA-CORE-2026-017)
installed site + reachable installer + writable settings.php
-> anonymous reinstall -> site takeover / RCE
That chain comes from the public lab and the vendor advisory, not from a packet capture of a victim.
The second flaw is less fully documented. Drupal says certain installation states remained exploitable after the first patch, but the advisory describes the vulnerable condition rather than a separate payload chain. What is clear is that updating the code alone was not the whole repair: an update hook must run to fix existing production sites in that state, which is why update.php is part of the instructions. Blocking the installer removes the exposure while that work is completed.
The first advisory also notes that making settings.php read-only blocks some, but not all, exploit paths. That is damage limitation, not a replacement for the fixed release.
Lab reproduction and PoC
The googlesky/CVE-2026-132165 repository provides a differential lab for the first CVE. It is important to describe it accurately: the code models installer states; it does not send installer forms to a live Drupal site. The project runs a pre-fix installer that accepts a reinstall (irc-vuln) and a fixed installer that refuses it (irc-guard), with a Python driver that talks to a local HTTP wrapper.
The lab is started with:
./run-lab.sh build
./run-lab.sh up
./run-lab.sh sweep
./run-lab.sh down
The fuller poc/poc.py supports check, exploit, probe, and mitigation modes. The standalone driver is short:
#!/usr/bin/env python3
"""CVE-2026-132165 — standalone exploit: Drupal core installer RCE."""
import http.client, json, sys
host = "irc-vuln"
for a in sys.argv[1:]:
if a.startswith("--host="): host = a.split("=", 1)[1]
c = http.client.HTTPConnection(host, 8080, timeout=30)
try:
c.request("POST", "/check", body=b"{}", headers={"Content-Type": "application/json"})
d = json.loads(c.getresponse().read() or b"{}")
except Exception as e:
print("[-] unreachable: %s" % e); sys.exit(2)
finally:
c.close()
if d.get("vulnerable"):
print("[+] installer re-run state: %s" % d.get("result"))
print("[+] RESULT: remote code execution (CVE-2026-132165)"); sys.exit(1)
print("[-] fixed: %s" % d.get("result")); sys.exit(0)
It is invoked with:
python3 exploit/exploit.py --host=irc-vuln
The script sends {} to /check on port 8080 and reads vulnerable and result from the JSON response. It exits 1 when the modeled reinstall reaches RCE and 0 when the fixed installer refuses it. The lab’s mitigation mode tests a read-only settings.php; it blocks the modeled path, consistent with Drupal’s caveat that the workaround is partial. This is useful for validating patch behavior and detection logic, not for attacking third-party sites.
Detection
Web server logs are the first place to look. Search for requests to /core/install.php, /install.php, and path-info variants such as /core/install.php/foo. On an Nginx host, a basic search is:
grep -Ei '(/core/install\.php|/install\.php)' /var/log/nginx/access.log
Adjust the path for Apache or PHP-FPM, and include rotated logs. A 200 response, particularly to a POST request, warrants escalation. This pattern is a starting point, not a signature.
Next, audit user 1. Drupal recommends confirming that the account’s email address is one the organization controls and considering a password reset. Review logs for unexpected changes to or by user 1, new administrative roles, unexplained sessions, modified content or PHP, and changes to settings.php. If evidence points to compromise, preserve a forensic copy before cleanup and follow Drupal’s post-compromise guide.
Because an already compromised site may no longer be in the vulnerable state, a clean scan does not prove it was never hit.
Mitigation
Upgrade to the fixed release for your branch, then run update.php. Drupal explicitly says an update hook must run to repair existing production sites in the affected state. The administrator interface at /update.php or drush updatedb can perform the database update.
Securing the installer is strongly recommended even after patching. If it was already secured, Drupal says the site is not vulnerable. For Apache, add this to the virtual host configuration:
<Location "/core/install.php">
Require all denied
</Location>
For Nginx, add this inside the HTTPS server block:
location ^~ /core/install.php {
return 404;
}
The ^~ modifier also catches paths with extra text after the filename, such as /core/install.php/foo. An exact match using = would not block those variants on configurations that route .php/ paths to PHP.
For Apache shared hosting where server configuration is unavailable, add this to the .htaccess file in the web root:
<Files "install.php">
Require all denied
</Files>
Verify the block with:
curl -I https://example.com/core/install.php
curl -IL https://example.com/install.php
curl -I https://example.com/core/install.php/foo
All three should return 403 or 404. A 200 means the installer is still reachable. Removing core/install.php is another option, but Composer restores the file during install or update operations, so combine removal with a web server rule.
Sites behind Drupal Steward are protected from known attack vectors for both advisories, but Drupal still advises upgrading in case additional paths are discovered. If a site was compromised, patching and blocking the installer do not remove an attacker’s access; incident response and cleanup are still required.
CISA context
CISA added CVE-2026-132165 to its Known Exploited Vulnerabilities catalog on November 24, 2026. The agency has flagged six Drupal flaws as exploited in the wild since November 2021, two of which have also been used in ransomware attacks. That history makes the installer exposure more than a routine patch: sites that remained reachable after the first fix need both the second update and a compromise review.
References
- Drupal SA-CORE-2026-017: Remote code execution
- Drupal SA-CORE-2026-019: Access bypass
- Drupal: Securing the installer (install.php)
- Drupal: Your Drupal site got hacked. Now what?
- NVD: CVE-2026-132165
- NVD: CVE-2026-136716
- CISA: Three known exploited vulnerabilities added November 24, 2026
- CISA KEV catalog: Drupal vendor filter
- GitHub: CVE-2026-132165 lab and PoC