CVE-2026-106119

MEDIUM CVSS 4.0: 6.0 EPSS 0.46%
Updated Oct 06, 2026
MongoDB
Parameter Value
CVSS 6.0 (MEDIUM)
Fixed In 1.3.1
Type CWE-943
Vendor MongoDB
Public PoC No

LangChain is a framework for building LLM-powered applications. Prior to 1.3.1, MongoDBChatMessageHistory does not enforce the documented string type for an untrusted structured session identifier at runtime, allowing the identifier to be interpreted as a MongoDB query condition rather than as a literal value when multiple users' histories are stored in a shared MongoDB collection. An attacker able to invoke chat-history operations can read, modify, or delete another user's stored conversation.

Applications using authenticated, server-controlled string identifiers are not affected. This issue is fixed in version 1.3.1.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Weakness Type (CWE)