{"schema":"threatline.record/2","record":{"id":"CVE-2026-118668","aliases":["GHSA-4hm6-w6qq-w73v"],"summary":"LangGraph JavaScript custom authentication may permit cross-user Store access","details":"## Summary\n\nLangGraph deployments using JavaScript or TypeScript custom authentication may fail to apply Store authorization changes returned by an authorization handler. In affected deployments, an authenticated user may be able to access Store data outside their authorized namespace.\n\n## Required conditions\n\nA deployment is affected only when all of the following conditions apply:\n\n- It uses an affected `langgraph-api` version.\n- It runs JavaScript or TypeScript custom authentication.\n- Its Store authorization handler relies on rewriting the requested namespace to restrict each user to their own data.\n- The attacker can authenticate as an ordinary user.\n- Multiple users' data is stored through the affected authorization path.\n\nPython custom authentication handlers are not affected. JavaScript or TypeScript handlers that reject unauthorized namespace requests instead of rewriting them are also not affected.\n\nThe attack does not require administrator privileges, user interaction, a race condition, or the bypass of another mitigation.\n\n## Impact\n\nAn authenticated user may be able to read, overwrite, search, or delete Store data belonging to another user.\n\n## Patches\n\nThe issue is fixed in `langgraph-api` version `0.15.0`. The server now carries changes made by a JavaScript or TypeScript authorization handler across the runtime boundary and applies them before performing the Store operation. It validates the resulting namespace after authorization and rejects the request if an authorization change is malformed or cannot be applied safely.\n\nUsers should upgrade to `langgraph-api>=0.15.0`.\n\n## Workarounds\n\nDeployments that cannot upgrade immediately should change JavaScript or TypeScript Store authorization handlers to reject requests for unauthorized namespaces rather than relying on namespace rewriting.\n\nThis workaround must be applied to every Store action exposed by the deployment.","categories":["Libraries & packages"],"product":"langgraph-api","vendor":"langchain-ai","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-4hm6-w6qq-w73v","source_modified_at":"2026-10-28T21:09:43Z","fetched_at":"2026-10-29T00:48:09.584895Z","package":{"ecosystem":"pip","name":"langgraph-api"},"range":">= 0.1.2, < 0.15.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-118668","source_modified_at":"2026-10-28T21:06:43.157Z","fetched_at":"2026-10-29T00:48:09.584895Z","product":"langgraph-api","vendor":"langchain-ai","versions":[{"version":">= 0.1.2, < 0.15.0","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4hm6-w6qq-w73v","source_modified_at":"2026-10-28T21:30:04.910677534Z","fetched_at":"2026-10-29T00:48:09.584895Z","package":{"name":"langgraph-api","ecosystem":"PyPI","purl":"pkg:pypi/langgraph-api"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.1.2"},{"fixed":"0.15.0"}]}],"versions":["0.1.12","0.1.13","0.1.14","0.1.15","0.1.16","0.1.17","0.1.18","0.1.2","0.1.20","0.1.21","0.1.22","0.1.23","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","0.10.0","0.10.0rc1","0.10.0rc2","0.10.0rc3","0.10.1","0.10.2","0.10.3","0.11.0","0.11.0.dev1","0.11.0.dev10","0.11.0.dev3","0.11.0.dev4","0.11.0.dev5","0.11.0.dev6","0.11.0.dev7","0.11.0.dev8","0.11.0.dev9","0.11.0rc1","0.11.0rc10","0.11.0rc11","0.11.0rc12","0.11.0rc13","0.11.0rc14","0.11.0rc2","0.11.0rc3","0.11.0rc4","0.11.0rc5","0.11.0rc6","0.11.0rc7","0.11.0rc8","0.11.0rc9"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-4hm6-w6qq-w73v","source_modified_at":"2026-10-28T21:09:43Z","fetched_at":"2026-10-29T00:48:09.584895Z","package":{"ecosystem":"pip","name":"langgraph-api"},"version":"0.15.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-4hm6-w6qq-w73v","source_modified_at":"2026-10-28T21:30:04.910677534Z","fetched_at":"2026-10-29T00:48:09.584895Z","package":{"name":"langgraph-api","ecosystem":"PyPI","purl":"pkg:pypi/langgraph-api"},"version":"0.15.0"}],"cvss":8.6,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T21:06:43.157Z","modified_at":"2026-10-28T21:30:04.910677534Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-4hm6-w6qq-w73v","fetched_at":"2026-10-29T00:48:09.584895Z","source_modified_at":"2026-10-28T21:09:43Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-118668","fetched_at":"2026-10-29T00:48:09.584895Z","source_modified_at":"2026-10-28T21:06:43.157Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-4hm6-w6qq-w73v","fetched_at":"2026-10-29T00:48:09.584895Z","source_modified_at":"2026-10-28T21:30:04.910677534Z"}],"sources":["GitHub Advisory Database","CVE List","OSV"],"references":[{"source":"CVE List","url":"https://github.com/langchain-ai/langgraph/security/advisories/GHSA-4hm6-w6qq-w73v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/advisories/GHSA-4hm6-w6qq-w73v","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-28T21:30:04.910677534Z","content_hash":"fde8a1fc056a901361707f40f7927e2e5d0c9b56af894eaad642a876f4538628"}}
