Home / langchain-ai / langchain / CVE-2026-55443
CVE-2026-55443: is it exploited, and which versions of langchain-ai langchain are affected and fixed?
CVE-2026-55443 is a path traversal (reading or writing files outside the intended folder) vulnerability in langchain-ai langchain. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: langchain before 1.3.9 and langchain-anthropic before 1.4.6 (GitHub advisory GHSA-gr75-jv2w-4656). Fixed in 1.3.9 and 1.4.6 (GitHub advisory GHSA-gr75-jv2w-4656). Severity: Medium (5.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-55443?
LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders
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.
From the CVE record by GitHub_M, last updated June 22, 2026, 19:52 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| langchain-ai | langchain | < 1.3.9 | |
| langchain-ai | langchain-anthropic | < 1.4.6 |
As the CVE record by GitHub_M states it, last updated June 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | langchain | < 1.3.9 | 1.3.9 | GHSA-gr75-jv2w-4656 |
| PyPI | langchain-anthropic | < 1.4.6 | 1.4.6 | GHSA-gr75-jv2w-4656 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 8, 2026. Summary: LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| langchain | langchain | before 1.3.9 | application |
NVD analysis (status Analyzed), last modified June 26, 2026, 20:05 UTC.
How severe is CVE-2026-55443?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.1 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-55443 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 22, 2026)
- EPSS
- 0.16% probability of exploitation activity in the next 30 days, percentile 5.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-59 Improper Link Resolution Before File Access
Where are the vendor advisories and references?
- https://github.com/langchain-ai/langchain/security/advisories/GHSA-gr75-jv2w-4656 x_refsource_CONFIRM
- https://github.com/langchain-ai/langchain/commit/dcaf7795a3e6590af55c3ff7bda6add6355e9ea6 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 16, 2026
- Published
- June 22, 2026, 17:21 UTC
- CVE record updated
- June 22, 2026, 19:52 UTC by GitHub_M
- NVD
- Analyzed, last modified June 26, 2026, 20:05 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect langchain?
- May 26, 2026CVE-2026-44843 langchain-ai langchain: deserialization of untrusted data
- Apr 9, 2026CVE-2026-40087 langchain-ai langchain: template injection
- Mar 31, 2026CVE-2026-34070 langchain-ai langchain: path traversal (reading or writing files outside the intended folder)
- Feb 10, 2026CVE-2026-26013 langchain-ai langchain: server-side request forgery (SSRF)
- Jan 12, 2026CVE-2024-58340 LangChain AI LangChain: regular expression denial of service (ReDoS)
- Dec 23, 2025CVE-2025-68664 langchain-ai langchain: deserialization of untrusted data
- Nov 21, 2025CVE-2025-65106 langchain-ai langchain: template injection
Questions about CVE-2026-55443
Is CVE-2026-55443 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of langchain-ai langchain are affected by CVE-2026-55443?
langchain before 1.3.9 and langchain-anthropic before 1.4.6, per the GitHub advisory GHSA-gr75-jv2w-4656. The tables above give every range the sources list.
Which version fixes CVE-2026-55443?
1.3.9 and 1.4.6, per the GitHub advisory GHSA-gr75-jv2w-4656. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-55443?
Medium (5.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-55443?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.