Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-55443: LangChain path confinement flaws expose files outside intended root

Identifier
CVE-2026-55443
Published
Record updated
View JSON
Affected
  • langchain <= 1.3.8, fixed in 1.3.9, released June 12, 2026, 10 days before disclosure
  • langchain-anthropic <= 1.4.5, fixed in 1.4.6, released June 12, 2026, 10 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

LangChain versions prior to 1.3.9 contain several components that resolve filesystem paths or expand search patterns without confining results to the intended root directory. The file-search agent middleware validates only the starting directory, so glob patterns and symlinks can reach files outside the configured root, and prompt and agent configuration loaders accept path fields without confinement or symlink rejection. When these components receive path values or search patterns influenced by an untrusted source, including an LLM acting on untrusted input, they can disclose files outside the intended boundary.

Mitigation

Fixed in 1.3.9.