CVE-2024-3095

Public Exploit
SSRF in Langchain Web Research Retriever in langchain-ai/langchain

Description

A Server-Side Request Forgery (SSRF) vulnerability exists in the Web Research Retriever component of langchain-ai/langchain version 0.1.5. The vulnerability arises because the Web Research Retriever does not restrict requests to remote internet addresses, allowing it to reach local addresses. This flaw enables attackers to execute port scans, access local services, and in some scenarios, read instance metadata from cloud environments. The vulnerability is particularly concerning as it can be exploited to abuse the Web Explorer server as a proxy for web attacks on third parties and interact with servers in the local network, including reading their response data. This could potentially lead to arbitrary code execution, depending on the nature of the local services. The vulnerability is limited to GET requests, as POST requests are not possible, but the impact on confidentiality, integrity, and availability is significant due to the potential for stolen credentials and state-changing interactions with internal APIs.

Category

7.7
CVSS
Severity: High
CVSS 3.1 •
CVSS 3.0 •
EPSS 0.09%
Third-Party Advisory huntr.com
Affected: langchain-ai langchain-ai/langchain
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-3095?
CVE-2024-3095 has been scored as a high severity vulnerability.
How to fix CVE-2024-3095?
To fix CVE-2024-3095, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-3095 being actively exploited in the wild?
It is possible that CVE-2024-3095 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-3095?
CVE-2024-3095 affects langchain-ai langchain-ai/langchain.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.