StraitOfVuln
Latest / CVE-2026-106119

CVE-2026-106119

MediumCVSS 6.0 (v4.0)Awaiting Analysis
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-106119
Published / updated
06 Oct 2026, 19:17 UTC · last modified 06 Oct 2026, 20:17 UTC
Severity
MEDIUM
CVSS score
6.0 · v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · Attack vector: Network
Affected vendor
@langchain, langchain-ai
Affected products
mongodb, langchainjs
Affected versions
mongodb: < 1.3.1
langchainjs: < 1.5.14
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.46% probability of exploitation in the next 30 days · 42% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com