Skip to content

AAK-MCP-LANGGRAPH-API-CVE-2026-55235-001: langgraph-api below 0.10.0 (loopback webhook bypasses per-user authorization)

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

What it detects

langgraph-api before 0.10.0 lets a run or cron name a relative webhook target, delivered over an in-process loopback transport that the authentication middleware treats as internal: the external auth context is never applied. In a deployment that separates threads and runs by per-user authorization, an authenticated user can aim a webhook at the server's own thread and run routes and create a run on, or modify, another user's thread, pulling some of the targeted thread's metadata into the created run record (CVE-2026-55235, MEDIUM CVSS 5.9). Fixed in 0.10.0. The fix does not make loopback delivery safe in general: a deployment that deliberately re-enables it still carries unauthenticated webhooks and must restrict them to controlled same-process routes.

How to fix

Upgrade langgraph-api to 0.10.0 or later. If loopback webhook delivery is re-enabled deliberately, restrict the targets to a controlled same-process allowlist and do not treat a transport being in-process as an authorization decision.

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

agent-audit-kit scan . --rules AAK-MCP-LANGGRAPH-API-CVE-2026-55235-001

Limitations

Reads langgraph-api 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). 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-LANGGRAPH-API-CVE-2026-55235-001.md: the page then shows that text, with the registry reference appended under it.