{"cve":"CVE-2025-2828","nvd":{"published":"2025-06-23T21:15:25.210","modified":"2026-06-17T09:07:41.280","status":"Analyzed","description":"A Server-Side Request Forgery (SSRF) vulnerability exists in the RequestsToolkit component of the langchain-community package (specifically, langchain_community.agent_toolkits.openapi.toolkit.RequestsToolkit) in langchain-ai/langchain version 0.0.27. This vulnerability occurs because the toolkit does not enforce restrictions on requests to remote internet addresses, allowing it to also access local addresses. As a result, an attacker could exploit this flaw to perform port scans, access local services, retrieve instance metadata from cloud environments (e.g., Azure, AWS), and interact with servers on the local network. This issue has been fixed in version 0.0.28.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10.0},"cwes":["CWE-918"],"references":["https://github.com/langchain-ai/langchain/commit/e188d4ecb085d4561a0be3c583d26aa9c2c3283f","https://huntr.com/bounties/8f771040-7f34-420a-b96b-5b93d4a99afc","https://huntr.com/bounties/8f771040-7f34-420a-b96b-5b93d4a99afc"],"products":["langchain:langchain"],"source":"nvd","synced_at":"2026-10-19T22:03:23.287444849+00:00"},"epss":{"cve":"CVE-2025-2828","score":0.21019,"percentile":0.9757,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-h5gc-rm8j-5gpr","url":"https://osv.dev/vulnerability/GHSA-h5gc-rm8j-5gpr","summary":"LangChain Community SSRF vulnerability exists in RequestsToolkit component ","modified":"2025-07-17T22:23:18.384887Z","packages":[{"ecosystem":"PyPI","name":"langchain-community","purl":"pkg:pypi/langchain-community","ranges":["<0.0.28"],"fixed":["0.0.28"]}]},{"id":"PYSEC-2025-70","url":"https://osv.dev/vulnerability/PYSEC-2025-70","summary":"","modified":"2026-06-10T17:02:02.440779047Z","packages":[{"ecosystem":"PyPI","name":"langchain-community","purl":"pkg:pypi/langchain-community","ranges":["<0.0.28"],"fixed":["0.0.28"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}