PyPi: Langchain-Core

CVE-2024-0243

Safety vulnerability ID: 71611

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 26, 2024 Updated at Jun 21, 2025
Scan your Python projects for vulnerabilities →

Advisory

There is a bypass in the CVE-2023-46229 fix within langchain's SSRF protections in recursive_url_loader.py. Despite setting prevent_outside to True, an SSRF vulnerability allows crawling from an external server to an internal one. The issue stems from inadequate handling of external URLs, enabling unauthorized server interactions. For instance, an attacker controlling https://example.com could exploit this by placing links such as "https://example.completely.different/my_file.html". Despite the preventive measure, the crawler would fetch the malicious file.

Affected package

langchain-core

Latest version: 0.3.66

Building applications with LLMs through composability

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 8.1

CVSS v3 Details

HIGH 8.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
HIGH
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH