CVE-2024-0243
Python vulnerability analysis and mitigation

Overview

CVE-2024-0243 is a Server-Side Request Forgery (SSRF) vulnerability discovered in the RecursiveUrlLoader component of LangChain. The vulnerability was disclosed on February 26, 2024, affecting versions prior to 0.1.0. The issue allows an attacker in control of a target website to bypass the prevent_outside=True restriction and cause the crawler to download files from unintended external domains (NVD).

Technical details

The vulnerability exists in the RecursiveUrlLoader's URL crawling functionality. When configured with prevent_outside=True, the loader fails to properly validate external URLs, allowing an attacker to place malicious HTML files containing links to arbitrary external domains (e.g., 'https://example.completely.different/my_file.html'). The CVSS v3.1 base score is 8.1 (HIGH) with vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow attackers to bypass domain restrictions and force the crawler to access and download content from malicious external domains, potentially leading to unauthorized data access or server-side request forgery attacks (Huntr).

Mitigation and workarounds

The vulnerability has been patched in LangChain version 0.1.0. Users should upgrade to this version or later. The fix was implemented through a pull request that further restricts the recursive URL loader's behavior (Github PR).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22871HIGH8.7
  • PythonPython
  • guarddog
NoYesJan 13, 2026
GHSA-58pv-8j8x-9vj2HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 13, 2026
CVE-2026-22779MEDIUM6.3
  • PythonPython
  • blacksheep
NoYesJan 14, 2026
CVE-2026-21889LOW2.3
  • PythonPython
  • weblate
NoYesJan 14, 2026
CVE-2025-68492LOW2.3
  • PythonPython
  • chainlit
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management