CVE-2026-106119
CVE-2026-106119 — LangChain: MongoDBChatMessageHistory query injection can allow cross-session access
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 Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.0
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (2)
Products (2)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.0 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-943
References
4 on the record
- github.com/langchain-ai/langchainjs/security/advisories/GHSA-m6rx-h84q-8r95
x_refsource_CONFIRM
- github.com/langchain-ai/langchainjs/pull/11672
x_refsource_MISC
- github.com/langchain-ai/langchainjs/commit/946e3d856ff1f8ce7f7b9374c83f680a6ada79af
x_refsource_MISC
- github.com/langchain-ai/langchainjs/releases/tag/@langchain/[email protected]
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-11933 Post-authentication use-after-free in server-side JavaScript BSON-to-array conversionCVSS 8.8
- CVE-2025-42884 JNDI Injection vulnerability in SAP NetWeaver Enterprise PortalCVSS 6.5 · CISA KEV
- CVE-2026-88024 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Rust DriverCVSS 8.3
- CVE-2026-88023 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB PHP LibraryCVSS 8.3
- CVE-2026-96744 Unauthorized cache lock takeover via expression injection in lock owner values in MongoDB integration for LaravelCVSS 7.1
- CVE-2026-76543 SPL Injection through Data Model Regular Expression Field Preview in Splunk EnterpriseCVSS 5.4
Elsewhere on this site
- Langchain Aievery CVE for this vendor
- Langchainevery CVE for this vendor
- CWE-943other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.