@langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| langchain-ai | langchainjs | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Langchain-ai | Langchainjs |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gf3v-fwqg-4vh7 | @langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.394% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Langchain
Langchain langchain Community |
|
| CPEs | cpe:2.3:a:langchain:langchain_community:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Langchain
Langchain langchain Community |
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Langchain-ai
Langchain-ai langchainjs |
|
| Vendors & Products |
Langchain-ai
Langchain-ai langchainjs |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | LangChain is a framework for building LLM-powered applications. Prior to 1.1.14, the RecursiveUrlLoader class in @langchain/community is a web crawler that recursively follows links from a starting URL. Its preventOutside option (enabled by default) is intended to restrict crawling to the same site as the base URL. The implementation used String.startsWith() to compare URLs, which does not perform semantic URL validation. An attacker who controls content on a crawled page could include links to domains that share a string prefix with the target, causing the crawler to follow links to attacker-controlled or internal infrastructure. Additionally, the crawler performed no validation against private or reserved IP addresses. A crawled page could include links targeting cloud metadata services, localhost, or RFC 1918 addresses, and the crawler would fetch them without restriction. This vulnerability is fixed in 1.1.14. | |
| Title | @langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation | |
| Weaknesses | CWE-918 | |
| References |
|
|
| Metrics |
cvssV3_1
|