6

CVE-2026-106119: LangChain: MongoDBChatMessageHistory query injection can allow cross-session access

Awaiting analysis
AliasesGHSA-m6rx-h84q-8r95
Published 06-10-2026Last modified 06-10-2026

Vulnerability summary

CVE-2026-106119 is a medium (CVSS 6.0) vulnerability in langchain-ai langchainjs. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 41.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.0/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.46%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 06-10-2026
    PublishedVulnerability first disclosed.
  2. 06-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.46%

Chance of exploitation in the next 30 days

Percentile

42%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.46% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

@langchain2 products
Langchain-ai1 product

2 vendors · 3 products

References

6 links