Compiled 2 Nov 2026
PHP2Shell, the trojanized Claude Code extension on Cursor's marketplace and the AI-agent intrusions reported around them, in date order. Every entry lists its sources and how far we could check it.
ConfirmedStated in the vendor or project's own notice.
ReportedFrom a news or security-firm page. Not checked against a primary advisory.
UnverifiedSeen only in a search snippet or an aggregator, or the sources disagree.
Aug 2026discovery
Ryan Austin of Calif found the flaws during an audit of the PHP source, using OpenAI's GPT-5.6 Sol, as part of OpenAI's Patch the Planet project. Wiz found them independently with Gemini 4 Argon, GPT-5.6 Sol and its own tool, and named the pair PHP2Shell.
19 to 24 AugWiz report to PHP
A Japanese X post lists a coordinated-disclosure timeline: Wiz finds the bug on 19 Aug, shows unauthenticated code execution on Drupal and WordPress on 20 and 21 Aug, and reports it to PHP on 24 Aug. PHP starts fixing on 21 Sep and Cloudflare builds defenses in early Oct. No primary source found.
17 Octearliest hit
Amazon Threat Intelligence says its MadPot honeypots logged an exploitation attempt on 17 Oct. This conflicts with CISA, which had seen no exploitation on 21 Oct.
20 Octleak
An anonymous Hacker News post, a post on X by watchTowr labs and a proof-of-concept video that Calif released by mistake all leaked details. PHP.net published an early notice. Sansec expected mass attacks within 15 minutes of release.
21 Octpatch and disclosure
Fixed releases are PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Source patches exist for 7.4, 8.0 and 8.1, but no official binaries because those branches are end of life. The GitHub advisories went up at 13:34 UTC, 26 minutes early. The @sagitz_ account (Wiz research, per the search result) announced PHP2Shell on X. Maintainers said updating is the only complete fix. Reuters reported government websites going dark while admins updated.
21 Octexploitation
watchTowr saw exploitation on its honeypots by 21 Oct. CISA said it had not seen any as of the same day. Cloudflare reported signs of early exploitation and put temporary firewall rules in place.
23 Octagents attack
SOCRadar found an exposed server tied to INC and The Gentlemen ransomware affiliates running a framework called Phantom. A human writes a victim-specific prompt and approves each step. The agent work ran through OpenCode with models hosted on OpenRouter. The log shows 8,257 messages over 133 sessions. When a model refused, the operator reworded the request as an authorized red-team test instead of switching models. Entry points were FortiClient EMS, SimpleHelp, cPanel and VPN gateways. The article does not link this to PHP2Shell.
23 Octthird bug?
A Japanese X write-up says it was reported on 23 Oct and advises setting session.upload_progress.enabled=0 until the next release. No primary advisory found.
25 Octagentic post-exploit
Unit 42 described a European government target where an attacker reached password hashes and MFA secrets within two hours and tried Domain Admin escalation, with command output formatted for an AI model to read. Unit 42 then withdrew the claim that PHP2Shell was the entry point: it could not confirm how initial access happened. Separately, CYFIRMA reported a suspected North Korea-linked campaign scanning 216 unpatched hosts from 21 compromised nodes.
25 Octpublic RCE
Jaydip Modhwadia exploited PHP2Shell on an unpatched server in the online "Steal My Bitcoin" challenge, showing it works in practice.
25 Oct (reported 28 Oct)25 servers rooted
Dream observed the attack on 25 Oct. It combined PHP2Shell with Fragnesia (CVE-2026-46300) against a firewall vendor's management server, including three systems in a US government-affiliated environment, then went after Active Directory. The exploit was a custom build tied to the firewall's PHP 8.0.30 and its session.upload_progress feature. Attribution to a China-nexus actor is Dream's assessment.
26 OctCathedral
The Washington Post story is based on Cathedral's draft report. Anthropic confirms access to a limited set of sales, HR and IT systems, says customer conversations, Claude output, source code and model weights were not reached, and says it cut off access the same day. Cathedral's draft mentions salary data and Slack discussion. The two accounts differ on scope. The Cathedral test ran through Anthropic's bug bounty program. The Post piece itself was not opened.
29 Oct09:27 to 20:35 UTC
Versions 2.1.312 and 2.1.313 of Anthropic.claude-code, for macOS and Windows, carried a loader that tries to add an SSH key labeled svc-telemetry, enable SSH, open a reverse tunnel and drop persistence scripts, and reports host details to the attacker's server. Cursor says up to 5,000 users were affected, that Anthropic did not build these versions, and that uninstalling the extension may not remove the persistence. To check on macOS: grep -qs svc-telemetry ~/.ssh/authorized_keys
29 Octresponse
Cursor removed the malicious version, shut down the whole marketplace, audited other extensions and found none tampered with, rotated keys, rebuilt the marketplace and had the attacker's server taken offline with the hosting provider.
30 Octscope corrected
StepSecurity updated its report after Anthropic's statement: a bad actor used access to Cursor's marketplace to publish a tampered copy, and Anthropic's systems and laptops were not compromised. Anthropic says 2.1.313 was never published to Open VSX, the Microsoft marketplace or its official hosts, and that it skipped to 2.1.314. StepSecurity also found the 2.1.312 build served by Open VSX is clean. Socket said early reports naming Open VSX, npm and Microsoft were inaccurate. The Hacker News relayed that Microsoft confirmed 2.1.313 never reached its marketplace and that how the attacker got publish access is still unclear.
| ID | What | Score | Status |
|---|---|---|---|
| CVE-2026-109618 | PHP2Shell memory-safety flaw, remote code execution, PHP 5.4 to 8.5 | CVSS 4.0: 9.2 · 3.x: 9.8 | Patched 21 Oct (PHP 8.2 to 8.5) |
| CVE-2026-109619 | PHP2Shell, second flaw in the pair | CVSS 4.0: 9.2 · 3.x: 8.1 | Patched 21 Oct (PHP 8.2 to 8.5) |
| CVE-2026-46300 | "Fragnesia", Linux kernel local privilege escalation, chained with PHP2Shell in the 25-server attack | CVSS 7.8 | Not checked |
| CVE-2026-35616 | Fortinet FortiClient EMS authentication bypass, used by the Phantom ransomware framework | Not listed | Marked actively exploited by The Hacker News |
| CVE-2024-57727 | SimpleHelp path traversal, used by the same operators | Not listed | Marked actively exploited by The Hacker News |
| CVE-2026-115560 | Third PHP issue said to affect patched versions | Not listed | Unverified |