Skip to content

AAK-MCP-LANGGRAPH-CLI-CVE-2026-115885-001: LangGraph CLI from 0.4.15 below 0.4.32: langgraph deploy --verbose prints the registry push token

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

What it detects

The LangGraph CLI (langgraph-cli on PyPI; langchain-ai/langgraph) builds and deploys LangGraph agents. From 0.4.15, langgraph deploy logs in to the deployment's image registry by passing a temporary push token to docker login --password-stdin, and with --verbose its subprocess helper prints each command's input, token included. Anyone who can read the CI log or a terminal recording within the token's 12-hour life can pull the deployment's images or push to its image repository; the token alone cannot point the deployment at a pushed image (CVE-2026-115885, CVSS 4.0 4.1, CWE-532, GHSA-8prr-f582-jqq3). Deployments without --verbose, and remote image builds, are not affected. 0.4.32 runs that docker login with verbose output off.

How to fix

Upgrade langgraph-cli to 0.4.32 or later and pin it. Until then run langgraph deploy without --verbose in CI, and treat any log from a verbose deploy as holding a live registry credential until 12 hours have passed.

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

agent-audit-kit scan . --rules AAK-MCP-LANGGRAPH-CLI-CVE-2026-115885-001

Limitations

Reports langgraph-cli from 0.4.15 below 0.4.32 where a requirements*.txt (at any depth), or at the project root a pyproject.toml, Pipfile, Pipfile.lock, poetry.lock or uv.lock, or an MCP config's uvx launch states the version, reporting a range that admits an affected version. It reads the version, not how the CLI is run, so a project that never deploys with --verbose, or only builds remotely, is reported too. latest was 0.4.38 on 2026-10-24 and states no version, so a bare langgraph-cli is not reported, and neither is a CLI installed globally or into a CI image, which no project file names. npm's @langchain/langgraph-cli is another package and is not read. 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-CLI-CVE-2026-115885-001.md: the page then shows that text, with the registry reference appended under it.