CVE-2026-106119: LangChain: MongoDBChatMessageHistory query injection can allow cross-session access
langchain-ai · langchainjs
Affected: langchain-ai langchainjs · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 40% of scored CVEs
DescriptionCVE.org
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.
Affected products2
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- langchain-ai · langchainjs< 1.5.14
- @langchain · mongodb< 1.3.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- langchain-ai
- Published
- October 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-106119 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-943cwe.mitre.org
- github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6rgithub.com
- github.com/langchain-ai/langchainjs/pull/11672github.com
- github.com/langchain-ai/langchainjs/commit/946e3d856ff1f8ce7f7b9github.com
- github.com/langchain-ai/langchainjs/releases/tag/@langchain/monggithub.com