The vulnerability (CVE-2026-115885 / GHSA-8prr-f582-jqq3) is that langgraph deploy --verbose printed the temporary registry push token. The root cause is a combination of two functions in the langgraph-cli package:
-
subp_exec (in libs/cli/langgraph_cli/exec.py) — the CLI's subprocess helper. In the vulnerable version, when verbose=True, it printed the command line AND the command's stdin. The docker login --password-stdin step passes the push token via stdin (input=token_input), so the token was echoed to stdout/logs. The 0.4.37 fix changed this function to "Never echo stdin: it can carry secrets (docker login --password-stdin)."
-
_run_local_build (in libs/cli/langgraph_cli/deploy.py) — the function that requests the push token from LangSmith and runs the docker login step. In the vulnerable version it passed verbose=verbose to the login subprocess, so the login step inherited --verbose. The 0.4.32 fix (commit d590afbc3bed88fbb01798764d1edcde4584f7c9) changed this to verbose=False for the login step specifically.
Both functions exist in the vulnerable version (0.4.15–0.4.31) and are the functions that would appear in a runtime profile/stack trace when the token is leaked during a verbose deploy. The patch evidence is concrete: commit d590afbc3bed88fbb01798764d1edcde4584f7c9 ("fix(cli): preflight Docker for --push-to builds and keep the push token out of verbose output") changed verbose=verbose to verbose=False in the docker login call within _run_local_build, and the later 0.4.37 change removed the stdin echo from subp_exec.