mcp-cve-project

CVE-2026-30624 | Agent Zero (RCE via external MCP stdio JSON) | Critical

CVE Information

Field Value
CVE / NVD CVE-2026-30624
Date (index) 2026-04-15
Affected product (index) Agent Zero (RCE via external MCP stdio JSON configuration)
GHSA ID GHSA-RPPC-C4XV-V29H
OWASP MCP Top 10 (2025) MCP09 — Shadow MCP Servers
Published / disclosed 2026-04-15
Ecosystem Application / upstream project
Component Agent Zero 0.9.8 contains a remote code execution vulnerability in its External MCP Servers…
EPSS score 0.004050000 (FIRST EPSS, 2026-06-30)
CVSS score 8.6 HIGH CVSS v3.1 (NVD)
CWE CWE-77
Affected versions Agent Zero 0.9.8 (per NVD/GitHub advisory)
Fixed versions No fixed version listed in NVD/GitHub advisory
Fix status Unfixed
Exploit status Public advisory

CVE Breakdown


What is the vulnerability?

Malicious MCP STDIO JSON can execute arbitrary OS commands in the Agent Zero process context.

Attack prerequisites / exposure

Ability to submit or influence MCP server configuration accepted by Agent Zero.

CVE is because of what bug?

Missing validation before mapping MCP configuration to subprocess invocation.

MCP-specific impact / why it matters

Stdio MCP clients commonly pass user JSON straight into process spawners; this class of bug is systemic across adapters.

Add the vulnerable file/function name and a minimal before/after snippet here once the patch commit is linked.

Fix / Remediation

Harden MCP registration: allowlist commands, validate args, require elevated role to change MCP definitions.

Upstream fix (open source)

https://github.com/agent0ai/agent-zero