THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-m6rx-h84q-8r95 (medium) — LangChain: MongoDBChatMessageHistory query injection can allow cross-session access

[GHSA] GHSA-m6rx-h84q-8r95 (medium) — LangChain: MongoDBChatMessageHistory query injection can allow cross-session access

medgithub_advisoriesPublished 2026-10-08

GHSA-m6rx-h84q-8r95 Severity: medium CVE: CVE-2026-106119

LangChain: MongoDBChatMessageHistory query injection can allow cross-session access

## Impact

`MongoDBChatMessageHistory` did not enforce the documented string type for session identifiers at runtime. In affected applications, a structured session identifier could be interpreted as a MongoDB query condition rather than as a literal ident

Indicators of compromise

Original source: https://github.com/advisories/GHSA-m6rx-h84q-8r95