Kestrel
대시보드로 돌아가기
CVE-2026-55253HIGH· 7.7GHSA대응게시일: 2026. 08. 20.수정일: 2026. 08. 20.

LangChain MongoDB has NoSQL Operator Injection in MongoDBSaver.list() leading to cross-tenant data exposure

위협 신호 · CVSS · EPSS · KEV

정기 패치· 높은 악용 신호 없음
CVSS
7.7high

이론적 심각도 점수

EPSS

예측 데이터 없음

KEV
미등재

실측 악용 기록 없음

권장 대응 기한60일 이내CISA SSVC 기준

계획된 패치 주기 내 조치(60일 이내)

외부 노출· KEV 미등재 · 자동화 어려움 · 부분 영향 · 외부 노출

CVSS 벡터 · 메트릭

악용 경로
공격 벡터네트워크
공격 복잡도낮음
필요 권한낮음
사용자 상호작용불필요
범위변경
영향
기밀성 영향높음
무결성 영향없음
가용성 영향없음
버전별 점수
CVSS 3.17.7HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

상세 설명

Executive Summary

A NoSQL injection issue exists in the langgraph-checkpoint-mongodb and
langgraph-store-mongodb libraries. MongoDBSaver.list() and MongoDBStore.search() methods
accept a filter parameter that is incorporated into MongoDB queries without sufficient validation.
Because MongoDB query operator keys (those prefixed with $) are not rejected during filter
construction, a caller with control of the filter input can embed MongoDB query operators
directly into the query.


CVSS Details

CVSS 4.0

FieldValue
CVSS Version4.0
Vector StringCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
Base Score7.1 (High)
MetricValueRationale
Attack Vector (AV)NetworkTriggerable remotely via API
Attack Complexity (AC)LowNo special conditions required
Attack Requirements (AT)NoneNo prerequisite deployment or execution conditions
Privileges Required (PR)LowAuthenticated caller of the checkpoint/store API
User Interaction (UI)NoneNo user action required
Vulnerable System Confidentiality (VC)NoneNo direct impact on the vulnerable component itself
Vulnerable System Integrity (VI)NoneRead-only access
Vulnerable System Availability (VA)NoneNo service disruption
Subsequent System Confidentiality (SC)HighFull access to other tenants' checkpoint data
Subsequent System Integrity (SI)NoneNo write or modification capability
Subsequent System Availability (SA)NoneNo service disruption to downstream systems

CVSS 3.1

FieldValue
CVSS Version3.1
Vector StringCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Base Score7.7 (High)
MetricValueRationale
Attack VectorNetworkTriggerable remotely via API
Attack ComplexityLowNo special conditions required
Privileges RequiredLowAuthenticated caller of the checkpoint/store API
User InteractionNoneNo user action required
ScopeChangedImpact crosses tenant boundaries
ConfidentialityHighFull access to other tenants' checkpoint data
IntegrityNoneRead-only access
AvailabilityNoneNo service disruption

Affected Packages

PackageDistributionAffected MethodsAffected Versions
langgraph-checkpoint-mongodbPyPIMongoDBSaver.list(), MongoDBSaver.alist()< 0.3.0
langgraph-store-mongodbPyPIMongoDBStore.search()< 0.4.0

Advisory FAQ

How do I know if I am affected?

You are likely affected if all of the following are true:

  1. Your application uses langgraph-checkpoint-mongodb or langgraph-store-mongodb.
  2. Your application calls MongoDBSaver.list(), MongoDBSaver.alist(), or
    MongoDBStore.search() with a filter argument.
  3. Any part of that filter argument is derived from user-controlled input — for example, HTTP
    query parameters, request body fields, or agent tool arguments.
  4. You operate in a multi-tenant context where the filter is used to enforce per-user or
    per-tenant data isolation.

If the filter argument is constructed entirely from trusted, server-side values, the practical risk is
lower, but upgrading is still recommended.

How do I fix the issue?

Upgrade to the version of langgraph-checkpoint-mongodb and langgraph-store-mongodb.
If you cannot upgrade immediately, apply the following mitigation: in your application code,
before passing any user-controlled input to the filter parameter, remove or escape MongoDB
Query metacharacters such as “$”.


Acknowledgements

Thanks to Kenichi Kawaguchi for responsibly disclosing this issue via the GitHub Security
Advisory program on the langchain-mongodb repository.


Revisions

DateDescription
2026-06-05Initial advisory published

AI 심층 분석

공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.