Authorization Bypass Through User-Controlled Key Affecting langgraph-api package, versions [0.1.2,0.15.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LANGGRAPHAPI-22391606
  • published10 Nov 2026
  • disclosed28 Oct 2026
  • creditCoinspect Security Audits

Introduced: 28 Oct 2026

NewCVE-2026-118668  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade langgraph-api to version 0.15.0 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key via JavaScript or TypeScript custom authentication Store authorization handlers, which 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 of Store data.

Note: This is only exploitable when the deployment uses JavaScript or TypeScript custom authentication and its Store authorization handler relies on namespace rewriting (rather than rejection) to restrict each user to their own data.

Workaround

Change JavaScript or TypeScript Store authorization handlers to reject requests for unauthorized namespaces rather than relying on namespace rewriting. This workaround must be applied to every Store action exposed by the deployment.

CVSS Base Scores

version 4.0
version 3.1