{"id":"CVE-2023-46229","published":"2023-10-19T00:00:00Z","modified":"2024-09-12T18:06:21Z","title":"LangChain before 0.0.317 allows SSRF via document_loaders/recursive_url_loader.py because crawling can proceed from an…","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-12T18:06:03.676750Z","from":"CISA ADP","provenance":"source"},"description":{"text":"LangChain before 0.0.317 allows SSRF via document_loaders/recursive_url_loader.py because crawling can proceed from an external server to an internal server.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a server-side request forgery (SSRF) in LangChain versions before 0.0.317, located in the recursive URL loader component (document_loaders/recursive_url_loader.py). An attacker can abuse the loader's crawling behaviour to proceed from an external server to internal servers.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-02T16:41:18Z"},"cvss":null,"epss":{"score":0.43109,"percentile":0.98753,"date":"2026-11-21","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-08-20","exploitedFirstSeen":"2025-08-20","ransomware":false,"evidence":[{"url":"https://blog.securelayer7.net/ai-agent-frameworks/","date":"2025-08-20"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":9,"pulses":[{"name":"Threat Brief: CVE-2025-0282 and CVE-2025-0283 (Updated Jan. 17)","url":"https://otx.alienvault.com/pulse/6790f3fdddb2852d6f638cea","created":"2025-01-22"},{"name":"Threat Brief: Operation Lunar Peek, Activity Related to CVE-2024-0012","url":"https://otx.alienvault.com/pulse/67440fab8ea43bee9b09dd98","created":"2024-11-25"},{"name":"November 18 Advisory: Active Exploitation of Critical RCE in Palo Alto Networks PAN-OS [CVE-2024-0012 and CVE-2024-9474]","url":"https://otx.alienvault.com/pulse/67440c9a8e5cde84eebc504e","created":"2024-11-25"},{"name":"Threat Brief: Operation Lunar Peek, Activity Related to CVE-2024-0012","url":"https://otx.alienvault.com/pulse/673ed04516466c56a42ea7c8","created":"2024-11-21"},{"name":"November 18 Advisory: Active Exploitation of Critical RCE in Palo Alto Networks PAN-OS [CVE-2024-0012 and CVE-2024-9474]","url":"https://otx.alienvault.com/pulse/673ec8b24fa9fef759ac40dc","created":"2024-11-21"},{"name":"Threat Brief: Operation Lunar Peek, Activity Related to CVE-2024-0012","url":"https://otx.alienvault.com/pulse/673c8dfb28bee7fc883a7b66","created":"2024-11-19"},{"name":"November 18 Advisory: Active Exploitation of Critical RCE in Palo Alto Networks PAN-OS [CVE-2024-0012 and CVE-2024-9474]","url":"https://otx.alienvault.com/pulse/673b93354f07f3ac1cb95b15","created":"2024-11-18"},{"name":"Threat Brief: Operation Lunar Peek, Activity Related to CVE-2024-0012","url":"https://otx.alienvault.com/pulse/673b9334d56b73a892d9ffdd","created":"2024-11-18"},{"name":"Mirai Variant Targeting New IoT Vulnerabilities, Network Security Devices","url":"https://otx.alienvault.com/pulse/66d7b3f068ec9e834870e27f","created":"2024-09-04"}],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/langchain-ai/langchain/pull/11925","tags":[]},{"url":"https://github.com/langchain-ai/langchain/commit/9ecb7240a480720ec9d739b3877a52f76098a2b8","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"langchain","vulnerableRanges":["<0.0.317"],"patched":["0.0.317"],"from":["GHSA-655w-fm8m-m478","PYSEC-2023-205"],"provenance":"source"}],"advisories":[{"id":"GHSA-655w-fm8m-m478","url":"https://github.com/advisories/GHSA-655w-fm8m-m478","severity":"HIGH","ecosystem":"PyPI","package":"langchain","vulnerableRanges":["<0.0.317"],"patched":["0.0.317"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2023-0119","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-0119","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2026-02-27","earliestUrl":"https://github.com/JarvisDing-sdu/Yasa-CVE-2023-46229","repos":[{"name":"JarvisDing-sdu/Yasa-CVE-2023-46229","url":"https://github.com/JarvisDing-sdu/Yasa-CVE-2023-46229","stars":1,"created":"2026-02-27"},{"name":"dexteon/langchain-sitemap-ssrf-cve-2023-46229","url":"https://github.com/dexteon/langchain-sitemap-ssrf-cve-2023-46229","stars":0,"created":"2026-11-12"}]},"first":{"date":"2026-02-27","source":"PoC-in-GitHub","url":"https://github.com/JarvisDing-sdu/Yasa-CVE-2023-46229"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2023-10-19","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2023-46229","provenance":"source"},{"date":"2025-08-20","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://blog.securelayer7.net/ai-agent-frameworks/","provenance":"source"},{"date":"2026-02-27","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/JarvisDing-sdu/Yasa-CVE-2023-46229","provenance":"source"}],"speed":{"daysToPublicExploit":862,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":62.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 458 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.75,"detail":"percentile 0.9875"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":2.27,"detail":"9 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2023-38860","published":"2023-08-15","fixed":"0.0.247","kev":false},{"cve":"CVE-2023-39631","published":"2023-09-01","fixed":"0.0.308","kev":false},{"cve":"CVE-2023-36281","published":"2023-08-22","fixed":"0.0.312","kev":false,"link":{"from":"CVE-2023-36281","to":"CVE-2023-46229","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:langchain","fromFixed":"0.0.312","toFixed":"0.0.317","daysApart":58}]}},{"cve":"CVE-2023-46229","published":"2023-10-19","fixed":"0.0.317","kev":false},{"cve":"CVE-2023-39659","published":"2023-08-15","fixed":"0.0.325","kev":false},{"cve":"CVE-2023-32786","published":"2023-10-20","fixed":"0.0.329","kev":false},{"cve":"CVE-2024-3571","published":"2024-04-16","fixed":"0.0.353","kev":false}],"package":"PyPI:langchain"}}