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

Inspect INC-2024-10940 in Interactive Incidents & Cases Hub

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

Mapped defensive controls

Source citation records