AgentCrew: a tool schema's $ref read local files before any approval
AgentCrew resolved JSON references inside an MCP server's tool schema, turning tool registration into a file read and an outbound request.
· VulnCheck · Research by Dilanka Kaushal Hewage
A malicious MCP server could put a file or http reference in its tool schema, and AgentCrew resolved it while registering tools, before any tool call or approval prompt. CVE-2026-144453 is fixed in 0.25.1.
01What happened
Dilanka Kaushal Hewage, who uses the handle r3vpwnx, reported the flaw as a public GitHub issue on AgentCrew on 30 November 2026, with a working proof of concept. A project collaborator replied on 2 December, and the fix landed the next day in version 0.25.1. VulnCheck published it as CVE-2026-144453 on 3 December.
02How it works
AgentCrew's MCP client passes a server's tool schema to the jsonref library's replace_refs without a custom loader. The default loader fetches http and https references with requests.get, and other schemes, including file, with urlopen. Whatever comes back is placed into the function parameters sent to the model. Because all of this runs while registering tools from the tools/list response, nothing has yet asked the user to approve anything.
03Who is affected
AgentCrew 0.25.0 and earlier, plus the main branch at commit cb9143a, are affected for anyone who adds an MCP server they do not control. The reporter found that Python 3.12 inlines the referenced file content, while on Python 3.13 the file is still read but a type error stops registration. An http reference produces a blind outbound GET on every version tested.
04What to do
Upgrade AgentCrew to 0.25.1 or later. Treat every MCP server you add as code that runs at registration time, and review which servers are configured, not only which tool calls get approved.
Questions people ask
- Does the AgentCrew reference flaw need a tool call to be approved?
- No. Dilanka Kaushal Hewage showed that AgentCrew resolves the references while registering tools from an MCP server's tools/list response, which happens before any tool call and before any approval prompt. Adding the server is enough on its own. Approving or denying individual tool calls therefore offers no protection against CVE-2026-144453.
- Which files could a malicious MCP server read from AgentCrew?
- Local JSON files the AgentCrew process can read. The report names cloud and command-line credential files as the realistic target, since jsonref parses the reference as JSON and inlines it into the schema sent to the model. The proof of concept used a stand-in secret file rather than real credentials, plus a local listener for the request path.
- Are other MCP clients using jsonref affected like AgentCrew?
- Unconfirmed. The AgentCrew report identifies the cause as calling jsonref's replace_refs on an untrusted schema with no loader, which is a pattern rather than an AgentCrew-only mistake, and the reporter suggested a loader that rejects non-local references. No advisory names another client, so treat it as a check worth running against your own MCP client.
Sources 3 links, all fetched
- 1vulncheck.comVulnCheck Advisory
- 2github.comReporter's Issue
- 3github.comVersion 0.25.1