Security1 publisher3 min readPublished
Claude Code turned a published Drupal patch into a working exploit in 51 minutes
An SC Media Perspectives column reports the run took 51 minutes with one human assist, against a couple of days by hand, and the team had Drupal's pre-announcement to prepare before the clock started.
The Watch · Security desk

What happened
- A researcher writing for SC Media pointed Claude Code at the relevant Drupal branches and found that the published patch itself gave away clues about what had been fixed.
- The run was not fully autonomous, because Claude got stuck at one point and a human researcher had to intervene.
- The columnist estimates an expert familiar with CMS platforms, PHP and advanced SQL injection would have needed at least a couple of days to reach the same result unaided.
Compiled by The WatchSomething wrong?How this is made
Why it matters
- constraint Authority to cut exploitability has to be delegated before the emergency, across security, application owners and IT, because on this timeline the decision falls inside the first hour.
- decision The trigger for emergency response moves back to the vendor advisory, CVE disclosure or security release notice; a team that waits for a proof of concept on GitHub begins after the exploit already exists.
- capability Exploit development against a published patch scales with agent time, at roughly 56 times the pace the column attributes to an expert working by hand.
- precedent Vendors that pre-announce critical releases so operators can prepare are handing the same preparation window to whoever intends to build the exploit.
Patch diffing is old work. By the column's account, Drupal's published patch revealed clues about what had been fixed [2]. In its telling, Claude Code isolated those changes, recreated the vulnerable environment and helped turn the clues into a working attack [3]. Elapsed time from publication to functional exploit was 51 minutes [4].
That clock starts late. Drupal pre-announced the critical release in May and asked operators to prepare patching during its scheduled release window [1]. The column's team used the notice to watch the relevant branches and line up its research before the patch existed. The columnist wrote that the pre-announcement "offered enough credible information for the team to prepare its research before the patch appeared", which let them "set a trap" [9].
The column's own hand-work baseline is at least a couple of days for an expert familiar with CMS platforms, PHP and advanced SQL injection [6]. Against that, the run is about 56 times faster: 48 hours is 2,880 minutes, and 2,880 divided by 51 is 56.5 [15]. Both figures come from the same author. The estimate is the columnist's, the run is self-reported, and the column does not name the CVE or the specific Drupal release [17]. It also records that Claude got stuck and a human researcher had to intervene [5].
The ordering problem holds whatever the exact minute count. A production change may still require dependency checks, staging, backups, rollback preparation, approvals and a maintenance window, and most organizations cannot safely change production inside 51 minutes [7]. The columnist argued that unpatched and exposed and unpatched and mitigated need to be treated as meaningfully different states [8]. Interim mitigation is a bridge to the patch. The argument is that when attackers can act autonomously and production changes still need human review, many organizations cannot deploy a permanent fix as quickly as exploitation can begin [19].
The interim controls the column lists are ordinary: restricting access to the vulnerable endpoint or functionality, a narrowly scoped WAF rule, or temporarily disabling an affected feature [11]. The column then asks teams to validate the control against the known exploit where possible, test relevant variants, confirm the vulnerable path is actually blocked, and confirm that legitimate application behavior still works [12].
CISA's Binding Operational Directive 26-04 already requires federal agencies to use more context when prioritizing vulnerabilities, including reachability, exploitability and potential impact [13]. The column applies the same logic to response measurement. Take two companies that each need four days to test and deploy the permanent patch. One implements and validates an access restriction within four hours; the other leaves the path exposed the whole time. Mean-time-to-patch scores them identically [14]. The distance between those two outcomes is 92 hours of exploitable exposure [16].
What to watch
- Whether anyone outside the column reproduces the 51-minute timeline with the CVE and the diff named.
- Whether reporting under CISA's BOD 26-04 starts asking agencies for time-to-mitigation alongside time-to-patch.
- Whether Drupal changes how much its pre-announcements disclose ahead of the next scheduled release window.