CVE-2024-3095: SSRF in Langchain Web Research Retriever in langchain-ai/langchain
Vulnerability summary
CVE-2024-3095 is a high (CVSS 7.7) Server-Side Request Forgery vulnerability in langchain-ai langchain-ai/langchain. EPSS estimates a 0.69% chance of exploitation in the next 30 days, higher than 54.2% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.8, physical access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 06-06-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated4.8MediumCVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
- NVDNIST4.8MediumCVSS:3.0/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
EPSS trend
Probability
0.69%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.69% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (huntr.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: physical access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Langchain1 product
- langchain≥ 0.1.5, < 0.2.9
Langchain-ai1 product
- langchain-ai/langchain≥ unspecified, ≤ latest
PyPI1 product
- langchain-community< 0.2.9
3 vendors · 3 products