CVE-2024-28088

Published Mar 3, 2024 CVSS 3.1 · 8.1 High EPSS 1.7% KEV · Not listed
Description
LangChain through 0.1.10 allows ../ directory traversal by an actor who is able to control the final part of the path parameter in a load_chain call. This bypasses the intended behavior of loading configurations only from the hwchase17/langchain-hub GitHub repository. The outcome can be disclosure of an API key for a large language model online service, or remote code execution. (A patch is available as of release 0.1.29 of langchain-core.)

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-h59x-p739-982c LangChain directory traversal vulnerability
History
Type Values Removed Values Added
First Time appeared Langchain
Langchain langchain
Weaknesses CWE-22
CPEs cpe:2.3:a:langchain:langchain:*:*:*:*:*:*:*:*
Vendors & Products Langchain
Langchain langchain
Type Values Removed Values Added
Weaknesses CWE-31
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 26, 2024, 7:44 PM
Reserved
Mar 3, 2024, 12:00 AM
Status
Analyzed
Published
Mar 4, 2024, 12:15 AM
Modified
Jun 17, 2026, 7:20 AM