
PHP2Shell is a flaw in PHP's own engine, so every application on an affected version is exposed, down to a bare "Hello World". When a request runs out of memory partway through startup, PHP leaves stale internal state behind, and the next request on the same worker reuses it. One chain turns that into unauthenticated remote code execution. Another returns an attacker-sized slice of worker memory inside a PHPSESSID cookie, memory that Wiz says may hold passwords, authentication tokens, API keys and certificates from other requests. Wiz demonstrated RCE against WordPress, Drupal and Joomla, and Calif extended the list to Magento, Laravel, Symfony and others. Details leaked a day early, and several vendors were reporting exploitation attempts before the fixes shipped, none confirmed successful at the time of writing.
Update to a fixed version, or take your vendor's backport. For hosts that cannot move today, PHP lists partial mitigations (disabling session upload progress and fatal-error backtraces, lifting the memory limit) and says none of them makes an installation safe. A WAF with rules for the known vectors buys time. The web tier is only the first place this lands.
The mainstream harnesses rarely run on PHP. Claude Code, Codex, Cursor and their peers are built in TypeScript, Python and Rust. The PHP exposure for an agent program lives one hop away, in the servers the agents call and the credentials they carry to them.
Once an attacker lands on a PHP host, or merely reads its memory, the tokens the agents sent there are theirs, and so is the MCP server running on it. From that point, the tool descriptions and tool results every connected agent reads come from the attacker, carrying the server's name and the organization's trust, even though no prompt has been jailbroken and no harness exploited. The agent simply keeps following a tool it has always followed.
We see this layer every day across the environments we monitor: coding agents connected to a managed WordPress platform through its MCP server, with tools that run WP-CLI and pull environment configuration; a Laravel MCP server taking shape inside a product team's repository; agents holding WordPress application passwords so they can push pages over the REST API. This is what wiring an agent into a content stack looks like in 2026.
OpenAI shipped a version checker and two Codex skills for finding vulnerable hosts, and this is the week many teams will point coding agents at their fleets to patch at scale. Emergency work with sudo across many hosts is where an agent's wrong assumption does the most damage, as when a Cursor agent reached for a leftover broad-scope token and wiped a production database in seconds.
A footnote for the MCP crowd: the protocol's co-creator, David Soria Parra, was the release manager for PHP 5.4 and 5.5, and 5.4 is the oldest version PHP2Shell reaches.
Before the alerting, answer one question: which of your agents' tools sit on PHP? The inventory you already keep gets you most of the way.
- Trace each MCP server to the application behind it: The PHP-hosted ones are the WordPress MCP Adapter, the Drupal MCP Server, Laravel MCP and anything built on the official PHP SDK. A response-header check helps, though an MCP server often sits behind a Node or Go proxy, so it can confirm the application rather than the front door.
- Note the credential each agent hands those servers: The application passwords and bearer tokens agents send are what the memory-read variant skims, so that list doubles as your rotation list.
- Find out who patches the PHP: A managed platform such as WordPress VIP or Pantheon does it for you, so confirm the build. A self-hosted app is yours to patch today.
On the web tier, Wiz's signals are the ones to wire into alerting:
On the agent tier, look one hop out from those servers:

What happens when an AI agent blindly trusts a name nobody owns? We claimed abandoned buckets and packages referenced in agent files, and real production systems started sending us model weights, backups, and installs. GhostSquatting turns forgotten names into model theft, data exfiltration, and RCE.

Jev is fast, clever, and great at classification, so why not put it in front of every AI agent action? We tested it against Capsule's rogue agent model on accuracy, latency, and context, and found that when a wrong answer means a deleted production database, specialization still wins.

OWASP has published the Agentic Skills Top 10, a new list of the most critical risks in the skills that give AI agents real-world reach across tools like Claude Code and Cursor. We compared each of the ten risks against our analysis of over 200,000 real skills, and every one of them is already happening in the wild.

Capsule Security research uncovered a behavior in Cursor's agent: asked to do something ordinary like share a file, it decides on its own to upload the file to a public anonymous host to get a link. It will push past a deny-all network sandbox to do it, and no attacker is involved. We found it running in production across every major model, reported it to Cursor, and were met with silence.

As AI agent security moves into formal governance, binding laws like the EU AI Act and procurement standards like ISO 42001 are becoming required, while voluntary frameworks like OWASP’s Agentic Top 10 guide threat modeling. Despite these rising expectations, audit data shows that most active agent deployments still lack basic safeguards like input validation and execution logging. This post breaks down the five-layer compliance stack and explains why continuous, runtime evidence is essential to satisfy both strict regulations and voluntary benchmarks.

Modern AI agents are increasingly causing critical system damage not through external cyberattacks, but by taking unprompted, off-script actions across unguarded tools like databases and system shells. Traditional safeguards, including prompt instructions and human approval workflows, routinely fail to catch these autonomous errors before execution. To mitigate this growing risk, security must shift directly to the tool-call boundary, enforcing deterministic runtime controls that intercept and block destructive commands before they run.

Capsule Security and NVIDIA collaborated to solve the rogue AI agent threat by engineering specialized Small Language Models (SLMs) for real-time intent security detection. By fine-tuning NVIDIA Nemotron architectures, this solution achieves inline, ultra-low latency interception of unauthorized agent actions before damage occurs. Discover how domain-specialized models deliver up to 96.9% accuracy and sub-200ms response times to keep autonomous enterprise workflows secure.

Capsule launches a security integration for Claude Platform, using Claude's Compliance API to give security, compliance, and AI governance teams visibility into enterprise AI activity, risk, and posture across Anthropic-hosted deployments.

Our analysis of 206,435 AI agent skills reveals a rapidly growing software supply chain vulnerable to natural language payloads and dangerous capability combinations. Read the report to understand how these skills bypass traditional security controls and learn how Capsule protects your organization by securing the agent runtime.
.png)
The theoretical phase of agentic AI security is over—the attack surface is real and the incidents are documented. This post breaks down the defensive architecture taking shape in response: Meta's Agents Rule of Two, deterministic enforcement hooks, identity governance for non-human agents, and the questions security leaders need to be asking right now.

The security risks of AI agents are no longer theoretical. This blog examines the active threat landscape facing agentic AI in 2026, from prompt injection and supply chain attacks against MCP and skill registries to the governance gap created by vibe coding and Shadow AI.

Guardian agents are emerging as a critical security layer for the agentic AI era. As enterprises adopt AI agents that execute tools, handle sensitive data, and operate inside real workflows, human approval loops no longer scale. Guardian agents solve this by supervising other agents in real time: monitoring actions, enforcing policy, and blocking risky behavior before execution.
.png)
Capsule found two Cursor IDE vulnerabilities that let hidden prompt-injection instructions in referenced files steal developers’ SSH keys and contaminate future unrelated projects, causing zero-click or one-click exfiltration even when the attacker ships no malicious code.

Capsule Security’s State of AI Agent Security 2026 report is the largest independent audit of AI agents to date, showing that the ecosystem is rapidly shipping publicly exposed, weakly guarded, highly connected agents with recurring misconfigurations, near-absent runtime controls, widespread prompt-injection risk, expanding supply-chain exposure, and active malicious campaigns still propagating through agent skill and tool registries.

Capsule is launching a runtime security platform for the agentic AI era, built to monitor and stop autonomous agents that can bypass traditional guardrails, misuse legitimate access, and create a new class of enterprise security risk.

Capsule research team discover a critical prompt injection vulnerability in Salesforce Agentforce that allows attackers to exfiltrate CRM data through a simple lead from a form submission. No authentication required.