CVE-2026-118668

LangGraph JavaScript custom authentication may permit cross-user Store access

Published Oct 28, 2026 CVSS 4.0 · 8.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The langgraph-api module includes custom authentication handlers that operate on a Store namespace. Between releases 0.1.2 and 0.15.0, JavaScript or TypeScript handlers could rewrite the namespace value before it is applied to the Store operation, but this rewritten value was not carried across the runtime boundary. As a result an attacker who is authenticated to the system could trick the handler into using a namespace belonging to another user. By doing so the attacker can read, modify, delete, or search records stored under that other user’s namespace. This behavior is reflected in CWE‑639 (Authorization Bypass through User-Controlled Key) and CWE‑863 (Incomplete Authorization). The vulnerability permits confidentiality compromise and integrity violation for user data within a single deployment that relies on namespace rewriting for isolation.

Affected Systems

The affected product is langchain‑ai:langgraph‑api. Versions from 0.1.2 up to and including 0.15.0 are impacted. The issue does not affect Python custom authentication or handlers that reject unauthorized namespaces. Any deployment using the JavaScript or TypeScript custom authentication with namespace rewriting for isolation is at risk.

Risk and Exploitability

The CVSS score of 8.6 classifies the vulnerability as high. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no widespread exploitation has been observed. The likely attack surface requires an authenticated user with the ability to configure or submit a custom authentication handler; once this condition is met, the attacker can gain unrestricted access to another user’s Store namespace. Consequently, the risk is significant for services that rely on langgraph-api to store confidential data across multiple users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade langgraph-api to version 0.15.0 or later to receive the fix that prevents namespace rewriting across the runtime boundary.
  • If upgrading is infeasible, reconfigure custom authentication handlers to reject unauthorized namespaces instead of rewriting them, ensuring that only the owner’s namespace can be used.
  • Ensure deployment validates that namespace isolation is enforced at the application level, and monitor configuration changes that may re‑enable the vulnerable behavior.

Generated by OpenCVE AI on October 28, 2026 at 22:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4hm6-w6qq-w73v LangGraph JavaScript custom authentication may permit cross-user Store access
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Langchain-ai
Langchain-ai langgraph-api
Vendors & Products Langchain-ai
Langchain-ai langgraph-api
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title LangGraph JavaScript custom authentication may permit cross-user Store access
Weaknesses CWE-639
CWE-863
References
Metrics cvssV4_0

{'score': 8.6, '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'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

  • CWE-863

    Incorrect Authorization

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 29, 2026, 5:22 PM
Reserved
Oct 28, 2026, 5:25 PM
Status
Deferred
Published
Oct 28, 2026, 9:16 PM
Modified
Oct 29, 2026, 6:17 PM
Severity
Important
Public date
Oct 28, 2026, 9:06 PM