CVE-2026-106119
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.
Published:Oct 6, 2026
Last Modified:Oct 9, 2026
EPS:Oct 6, 2026
EPSS Score:0.00463
CVSS Score:6
Affected Products
Vendor
Product
Action
Vendor
Langchain-ai
Product
Langchainjs
Langchain-ai
Langchainjs
Vendor
Langchain-ai
Product
Mongodb
Langchain-ai
Mongodb
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
