Lookup for vulnerable packages by Package URL.
| Purl | pkg:npm/%40langchain/community@1.1.13 |
| Type | npm |
| Namespace | @langchain |
| Name | community |
| Version | 1.1.13 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 0.3.3 |
| Latest_non_vulnerable_version | 1.1.18 |
| Affected_by_vulnerabilities |
| 0 |
| url |
VCID-vtvb-ty6p-9ydc |
| vulnerability_id |
VCID-vtvb-ty6p-9ydc |
| summary |
@langchain/community affected by SSRF Bypass in RecursiveUrlLoader via insufficient URL origin validation
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 (e.g., `https://example.com.attacker.com` passes a `startsWith` check against `https://example.com`), 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 (`169.254.169.254`), localhost, or RFC 1918 addresses, and the crawler would fetch them without restriction. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-26019, GHSA-gf3v-fwqg-4vh7
|
| risk_score |
3.1 |
| exploitability |
0.5 |
| weighted_severity |
6.2 |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-vtvb-ty6p-9ydc |
|
|
| Fixing_vulnerabilities |
|
| Risk_score | 3.1 |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:npm/%2540langchain/community@1.1.13 |