CVE-2024-28088
Last modified
CVE-2024-28088 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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. EPSS estimates a 1.74% chance of exploitation in the next 30 days.
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.)
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Langchain | Langchain | < 0.1.12 |
References
- https://github.com/PinkDraconian/PoC-Langchain-RCE/blob/main/README.mdExploit, Third Party Advisory
- https://github.com/langchain-ai/langchain/pull/18600Exploit, Issue Tracking, Patch
- https://github.com/PinkDraconian/PoC-Langchain-RCE/blob/main/README.mdExploit, Third Party Advisory
- https://github.com/langchain-ai/langchain/pull/18600Exploit, Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-28088?
How severe is CVE-2024-28088?
How do I fix CVE-2024-28088?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-28076The SolarWinds Platform was susceptible to a Arbitrary Open …3.8
- CVE-2024-28077A denial-of-service issue was discovered on certain GL-iNet …7.5
- CVE-2024-2808A vulnerability, which was classified as critical, has been …9.8
- CVE-2024-28084p2putil.c in iNet wireless daemon (IWD) through 2.15 allows …7.5
- CVE-2024-28085wall in util-linux through 2.40, often installed with setgid…3.3
- CVE-2024-28087In Bonitasoft runtime Community edition, the lack of dynamic…6.5
- CVE-2024-28089Hitron CODA-4582 2AHKM-CODA4589 7.2.4.5.1b8 devices allow a …5.2
- CVE-2024-2809A vulnerability, which was classified as critical, was found…9.8
- CVE-2024-28090Technicolor TC8715D TC8715D-01.EF.04.38.00-180405-S-FF9-D RS…5.4
- CVE-2024-28091Technicolor TC8715D TC8715D-01.EF.04.38.00-180405-S-FF9-D RS…6.1
- CVE-2024-28092UBEE DDW365 XCNDDW365 8.14.3105 software on hardware 3.13.1 …7.2
- CVE-2024-28093The TELNET service of AdTran NetVanta 3120 18.01.01.00.E dev…8.8
Are you affected by CVE-2024-28088?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
