Documented Incident · INC-2024-10940 · Elevated severity
LangChain Core Orchestration Arbitrary Local File Read via Path Lookup
CVE-2024-10940 documented an improper path-boundary check in the LangChain orchestration library when resolving asset and document references during workflow loading. Attackers or untrusted chain definitions could supply unvalidated relative path expressions that escaped the intended workspace root and read arbitrary files from the host filesystem. In multi-tenant or shared developer deployments, exposed reads risked leaking environment files, cloud API tokens, and local model configuration secrets. Maintainers addressed the issue by enforcing strict path canonicalization, while production operators must chroot file loaders and reject symbolic links or traversal sequences.
Incident dossier metadata
- Case ID
INC-2024-10940- Classification
- Incident
- Date
- Severity
- Elevated
- Sector
- Software Development & AI Tooling
- Attack vector
- Data Exfiltration
- System type
- LLM Orchestration Frameworks & Document Loaders
- CVE / reference
CVE-2024-10940- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-10940
Defensive takeaway
Canonicalize and chroot file-loader paths to an explicit allowlisted workspace directory and reject symbolic links or traversal sequences before disk access.
Mapped AI security techniques
- Data from Local System AML.T0037
- External Harms AML.T0048
- AI Agent Tool Invocation AML.T0053
- Unsecured Credentials AML.T0055
Mapped defensive controls
Source citation records
- NVD Record CVE-2024-10940: Orchestration Framework Arbitrary Local File Read · NIST National Vulnerability Database (NVD) ·