Skip to content

AAK-MCP-ASTRBOT-CVE-2026-15501-001: AstrBot MCP-test endpoint SSRF (affected up to 4.25.2)

Severity
MEDIUM
Category
Supply Chain (supply-chain)
Scanner
agent_audit_kit/scanners/mcp_cve_pins_2026_07.py
Auto-fixable
No.
SARIF name
AstrBotMcpTestSsrf

What it detects

AstrBot's ToolsRoute.test_mcp_connection (astrbot/dashboard/routes/tools.py, MCP Test Endpoint) fetches a caller-supplied mcp_server_config.url, allowing remote server-side request forgery (CVE-2026-15501, CVSS 6.3). NVD lists versions up to 4.25.2 as affected and the vendor did not respond, so treat <= 4.25.2 (and unpinned) as exposed and move to the latest release.

How to fix

Upgrade astrbot past 4.25.2 to the latest release and pin it. Validate the MCP-test URL against an allow-list (scheme + host) and block private / loopback / metadata ranges before fetching.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-MCP-ASTRBOT-CVE-2026-15501-001

Limitations

Reads astrbot in requirements*.txt at any depth and, at the project root only, in pyproject.toml, Pipfile, package.json, .mcp.json, mcp.json, claude_desktop_config.json and the Pipfile.lock, poetry.lock, uv.lock, package-lock.json, pnpm-lock.yaml and yarn.lock lockfiles, taking the lowest version a range allows and reporting a reference that states no version. The dependency is not read when it is declared in a sub-directory manifest (services/api/pyproject.toml) or in a lockfile format the reader does not parse (pdm.lock). The soulter/astrbot image tag is not read, in a compose file or in an MCP config that starts it with docker run. A file over 2 MB, or a lockfile over 32 MiB, is not read. A declaration nested more than 64 levels deep in package.json, a TOML manifest or an MCP config (an MCP server more than 62) is still judged, and reported without a line; a lockfile entry keeps its line at any depth.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-MCP-ASTRBOT-CVE-2026-15501-001.md: the page then shows that text, with the registry reference appended under it.