CVE-2024-28088: Path Traversal

Published Mar 3, 2024
·
Updated

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

Affected Software

3 affected componentsFixes available
pip/langchain-core>=0<0.1.30
0.1.30
pip/langchain<0.0.339
0.0.339
Langchain Langchain<0.1.12

Event History

Mar 3, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Mar 4, 2024
Data Sourced
via NVD·12:15 AM
Description
Data Sourced
via NVD·12:15 AM
SeverityWeakness
Advisory Published
via GitHub·12:30 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-28088?

CVE-2024-28088 is classified as a medium severity vulnerability.

2

How do I fix CVE-2024-28088?

To mitigate CVE-2024-28088, upgrade to langchain-core version 0.1.30 or langchain version 0.0.339.

3

What does CVE-2024-28088 allow an attacker to do?

CVE-2024-28088 allows an attacker to perform directory traversal attacks that can lead to information disclosure.

4

Which versions of LangChain are affected by CVE-2024-28088?

CVE-2024-28088 affects versions of LangChain up to and including 0.1.12.

5

Is CVE-2024-28088 a local or remote vulnerability?

CVE-2024-28088 is a remote vulnerability that can be exploited by an attacker with control over the path parameter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203