CVE-2024-28088

HIGH
Published Mar 4, 2024 Modified Jan 8, 2025 CWE-22 CWE-31

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.)

Is your site exposed to CVE-2024-28088?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

8.1
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weakness Type (CWE)

CWE-22 Path Traversal
CWE-31 CWE-31

Affected Products

Vendor Product
langchain langchain

References

Frequently Asked Questions

What is CVE-2024-28088? +
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.) It has a CVSS v3.1 base score of 8.1 (HIGH).
How severe is CVE-2024-28088? +
CVE-2024-28088 has a CVSS v3.1 score of 8.1 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-28088? +
CVE-2024-28088 affects products from langchain, specifically: langchain. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-28088? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-28088 — free, no signup required.