Skip to main content
Public proof of conceptFix available

CVE-2024-28088

A public proof of concept exists; no exploitation attested.

  • Published2024-03-04
  • Fixed in0.1.12
  • WeaknessCWE-22 · CWE-31

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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

Timeline

dates in UTC
  1. 2024-03-0400:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP · OSV
Langchain
BranchAffectedFixed in
0.1< 0.1.120.1.12
0.1≤ 0.1.10no fix published
langchain
BranchAffectedFixed in
0.1< 0.1.110.1.11
0.0< 0.0.3390.0.339
langchain-core
BranchAffectedFixed in
0.1< 0.1.300.1.30
0.1< 0.1.110.1.11

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update Langchain to 0.1.12

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
2024-03-04
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-h59x-p739-982c

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

Is CVE-2024-28088 actively exploited?

A proof-of-concept exploit exists for CVE-2024-28088, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-28088?

CVE-2024-28088 has a CVSS v3 base score of 8.1 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Running langchain? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record