CVE-2024-7774: LangChain Path Traversal Vulnerability
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
A path traversal vulnerability in langchain-ai/langchainjs allows attackers to read, write, and delete files on the filesystem. A patch has been released to address the issue.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- langchainjs
- incident date
- 29 Oct 2024
- first reported
- 29 Oct 2024
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2024-7774 · path-traversal · langchain
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2024-10-29CVE-2024-7774: Langchain Path Traversal vulnerabilityGitHub Advisory Database · github.com/advisories/GHSA-hc5w-c9f8-9cc4
- 2024-10-29CVE-2024-7774: A path traversal vulnerability exists in the `getFullPath` method of langchain-ai/langchainjs version 0.2.5.NVD · nvd.nist.gov/vuln/detail/CVE-2024-7774
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2024-10-29CVE-2024-7042: LangChainJS GraphCypherQAChain SQL injection vulnerability2 Disclosedon AIPrompt inj.Infra vuln2 src
- 2024-11-26CVE-2024-32965: LobeChat server side request forgery vulnerability2 Disclosedon AIInfra vuln1 src
- 2024-11-22CVE-2024-11394: Deserialization vulnerability in Hugging Face Transformers2 Disclosedon AIInfra vuln2 src
- 2024-11-22CVE-2024-11393: Deserialization vulnerability in Hugging Face Transformers2 Disclosedon AIInfra vuln2 src
- 2024-11-22CVE-2024-11392: Deserialization vulnerability in Hugging Face Transformers2 Disclosedon AIInfra vuln2 src
- 2024-11-21CVE-2024-58351: Flowise OverrideConfig security vulnerability2 Disclosedon AIInfra vulnPrompt inj.2 src