CVE-2026-144453: AgentCrew before 0.25.1 SSRF and Local File Read via MCP $ref Resolution
AgentCrew before 0.25.1 contains a server-side request forgery and local file read vulnerability that allows malicious MCP servers to fetch internal URLs and local files by supplying crafted $ref values in tool inputSchema. Attackers controlling an added MCP server can return schemas referencing credential files or internal metadata endpoints, which MCPService.formattooldefinition resolves via jsonref without user approval.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 0.25.1
Event History
Frequently Asked Questions
Who can exploit this vulnerability?
An attacker must control an MCP server that has been added to AgentCrew. The malicious server can return a tool inputSchema containing crafted $ref values.
Does exploitation require user approval?
No. AgentCrew resolves the supplied $ref values through jsonref in MCPService._format_tool_definition without user approval.
What resources could be exposed?
A malicious MCP server can cause AgentCrew to fetch internal URLs, including internal metadata endpoints, and read local files such as credential files.
What versions are affected?
AgentCrew versions before 0.25.1 are affected.