{"answers":{"affected":"2 open source packages ship an affected version, including langgraph-api.","exploited":"There is no known exploitation of CVE-2026-118668 in the wild and no public exploit code.","fix":"Upgrade langgraph-api to 0.15.0 or later.","what":"CVE-2026-118668 is a high-severity vulnerability in langchain-ai langgraph-api, published on 28 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-118668 and fix it if it is affected.\n\nWhat it is: CVE-2026-118668 is a high-severity vulnerability in langchain-ai langgraph-api, published on 28 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-118668 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- langgraph-api (PyPI): affected from 0.1.2; fixed in 0.15.0\n- langgraph-api (PyPI): affected from 0.1.2; fixed in 0.15.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-118668/ (Markdown: https://insights.sbomify.com/CVE-2026-118668/index.md)","id":"CVE-2026-118668","markdown":"https://insights.sbomify.com/CVE-2026-118668/index.md","name":"CVE-2026-118668","record":{"aliases":["GHSA-4hm6-w6qq-w73v"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"description":"langgraph-api implements the LangGraph API for rapid development and testing. From 0.1.2 until 0.15.0, JavaScript or TypeScript custom authentication Store authorization handlers can return a rewritten namespace that is not carried across the runtime boundary and applied before the Store operation. An authenticated user can therefore access another user's Store namespace when a deployment relies on namespace rewriting for isolation, allowing unauthorized reads, overwrites, searches, or deletions. Python custom authentication and handlers that reject unauthorized namespaces instead of rewriting them are not affected. This issue is fixed in version 0.15.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"LangGraph JavaScript custom authentication may permit cross-user Store access","id":"CVE-2026-118668","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2026"},"n_packages":2,"n_references":1,"next":{"headline":"OAuthLib: Token grants can use attacker-supplied client_id for authorization after authenticating a different client","id":"CVE-2026-118669"},"packages":[{"ecosystem":"PyPI","fixed":["0.15.0"],"introduced":["0.1.2"],"last_affected":[],"package":"langgraph-api","purl":null,"source":"GHSA-4hm6-w6qq-w73v"},{"ecosystem":"PyPI","fixed":["0.15.0"],"introduced":["0.1.2"],"last_affected":[],"package":"langgraph-api","purl":"pkg:pypi/langgraph-api","source":"GHSA-4hm6-w6qq-w73v"}],"prev":{"headline":"LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requests","id":"CVE-2026-118667"},"products":["langgraph-api"],"published":"2026-10-28","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-29","vendors":["langchain-ai"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-118668/"}