langchain is vulnerable to Insertion of Sensitive Information into Log File
10
Low Risk
Affected versions of the package expose sensitive information in log files. Printing an instance of ChatMistralAI includes the API key in plaintext in the output, potentially compromising the key.
You are affected if you are using a version that falls within the vulnerable range.
langchain is vulnerable to Insertion of Sensitive Information into Log File in versions 0.1.0 - 0.2.17.
Upgrade the langchain library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant