CVSS 8.6 HIGH Truy cập trái phép

LangGraph JavaScript custom authentication may permit cross-user Store access

Mã khác
GHSA-4hm6-w6qq-w73v
Công bố
Cập nhật
Lần đầu thấy
Nguồn
GitHub Advisory, NVD, CVE.org, OSV.dev

Mô tả

Summary

LangGraph 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.

Required conditions

A deployment is affected only when all of the following conditions apply:

  • It uses an affected langgraph-api version.
  • It runs JavaScript or TypeScript custom authentication.
  • Its Store authorization handler relies on rewriting the requested namespace to restrict each user to their own data.
  • The attacker can authenticate as an ordinary user.
  • Multiple users' data is stored through the affected authorization path.

Python custom authentication handlers are not affected. JavaScript or TypeScript handlers that reject unauthorized namespace requests instead of rewriting them are also not affected.

The attack does not require administrator privileges, user interaction, a race condition, or the bypass of another mitigation.

Impact

An authenticated user may be able to read, overwrite, search, or delete Store data belonging to another user.

Patches

The 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.

Users should upgrade to langgraph-api>=0.15.0.

Workarounds

Deployments that cannot upgrade immediately should 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.

Điểm và phân loại

CVSS
8.6 HIGH v4.0
Nguồn điểm
NVD
Mức độ (theo nguồn)
HIGH
EPSS
0.37%

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Ảnh hưởng

Package Bản bị ảnh hưởng Bản đã sửa
pip langgraph-api >= 0.1.2, < 0.15.0 0.15.0

Sản phẩm

  • langchain-ai langgraph-api

Vì sao được giữ

  • CVSS 8.6 >= 8.0

Loại tác động

Truy cập trái phép
CWE-639; CWE-863

Dữ liệu riêng của nguồn

CVE.org · Đơn vị cấp mã
GitHub_M
CVE.org · SSVC
Tự động hoá được: no · Khai thác: none · Tác động kỹ thuật: total
OSV.dev · ID
GHSA-4hm6-w6qq-w73v

Tham khảo