Skip to content
HighVulnerability

CVE-2024-3095: langchain Web Research Retriever SSRF to local and internal addresses

Identifier
CVE-2024-3095
Published
Record updated
View JSON
Affected
  • langchain-community < 0.2.9
Fixed in
0.2.9
  • released July 19, 2024, 43 days after disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

CVE-2024-3095 is a Server-Side Request Forgery (SSRF) flaw in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The component does not restrict requests to remote internet addresses, so it can reach local addresses, enabling port scans, access to local services and, in some cases, cloud instance metadata. Only GET requests are possible, but the flaw can still expose stolen credentials and state-changing calls to internal APIs.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.