6.0Mittel
LangChain: MongoDBChatMessageHistory query injection can allow cross-session access
langchain-ai langchainjs; @langchain mongodb
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 Mon…