5.5

CVE-2026-55443: LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders

Analyzed
AliasesGHSA-gr75-jv2w-4656PYSEC-2026-2192PYSEC-2026-2556
Published 22-06-2026Last modified 22-06-2026

Vulnerability summary

CVE-2026-55443 is a medium (CVSS 5.5) vulnerability in langchain-ai langchain. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.16%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 22-06-2026
    PublishedVulnerability first disclosed.
  2. 22-06-2026
    Last modifiedVulnerability information updated.

Description

LangChain is a framework for building agents and LLM-powered applications. Prior to 1.3.9, several LangChain components that resolve filesystem paths or expand search patterns do not consistently confine the resolved path to the intended root directory. Affected behaviors include: a file-search agent middleware that validates a starting directory but not the search pattern or the resolved target of matched files, so glob patterns and symlinks can reach files outside the configured root; prompt- and chain/agent-configuration loaders that accept path fields and resolve them without confining the result to a trusted base or rejecting symlink targets; and path-prefix authorization checks that compare by string prefix without a path-segment boundary, so a sibling path sharing the prefix is accepted. When these components receive path values, search patterns, or workspace contents influenced by an untrusted source — including an LLM acting on untrusted input — the result can be disclosure of files outside the intended boundary. This vulnerability is fixed in 1.3.9.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.21% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Langchain-ai2 products
PyPI2 products
  • langchain< 1.3.9
  • langchain-anthropic< 1.4.6
Chainguard1 product
  • open-webui< 0.9.6-r5
Langchain1 product
Opensuse1 product
  • python-langchain-anthropic&distro=openSUSE Tumbleweed< 1.7.5-1.1
Wolfi1 product
  • open-webui< 0.9.6-r5

6 vendors · 8 products

References

8 links