CVE-2024-10940: LangChain-core arbitrary file read vulnerability
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerabilityData leak
A vulnerability in LangChain-core enables unauthorized users to read arbitrary files from the host file system via specific prompt templates. Exposure of prompt outputs can lead to sensitive information disclosure.
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 vulnerabilityprimaryCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Data leakTraining data, chat logs, system prompts, model weights or other AI-system data exposed.
- Infrastructure vulnerabilityprimary
- 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
- langchain-core
- incident date
- 20 Mar 2025
- first reported
- 20 Mar 2025
- 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-10940 · arbitrary-file-read
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 2025-03-20CVE-2024-10940: langchain-core allows unauthorized users to read arbitrary files from the host file systemGitHub Advisory Database · github.com/advisories/GHSA-5chr-fjjv-38qv
- 2025-03-20CVE-2024-10940: A vulnerability in langchain-core versions >=0.1.17,<0.1.53, >=0.2.0,<0.2.43, and >=0.3.0,<0.3.15 allows unauthorized users to…NVD · nvd.nist.gov/vuln/detail/CVE-2024-10940
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
- 2025-04-11Misconfigured Llama.cpp Servers Expose Sensitive User Prompts3 Exploitedon AIData leakInfra vuln1 src
- 2025-03-20CVE-2025-0330: LiteLLM Langfuse API Key Leakage2 Disclosedon AIInfra vulnData leak1 src
- 2025-03-20CVE-2024-9606: LiteLLM reveals portion of API key via logging file2 Disclosedon AIInfra vulnData leak1 src
- 2025-03-20Open WebUI Improper Access Control Leads to Arbitrary Prompt Read2 Disclosedon AIInfra vulnData leak1 src
- 2025-09-05CVE-2025-58401: Obsidian GitHub Copilot Plugin cleartext credential storage2 Disclosedon AIInfra vulnData leak1 src
- 2025-08-21CVE-2025-57755: claude-code-router CORS Misconfiguration API Key Exposure2 Disclosedon AIInfra vulnData leak1 src