{"schemaVersion":4,"id":"CVE-2026-55443","aliases":["GHSA-gr75-jv2w-4656","PYSEC-2026-2192","PYSEC-2026-2556","CGA-2g2c-gjc6-mfmp","CGA-9pr9-v4q7-c99g","openSUSE-SU-2026:11946-1"],"status":"published","duplicateOf":null,"title":"LangChain: Path traversal and sandbox escape in LangChain file-search middleware and loaders","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.","dates":{"published":"2026-06-22T17:21:46.121Z","modified":"2026-06-22T19:52:02.637Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":3.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":3.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":3.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.5,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00158,"percentile":0.05139,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.051999999999999984,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.0021},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00158,"percentile":0.05139}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.0021,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00158,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00158,"percentile":0.05139}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access","description":"The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/59.html"}],"affected":[{"vendor":"chainguard","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/open-webui","purlType":"apk","versions":[{"text":"< 0.9.6-r5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.9.6-r5","endInclusive":false}}],"versionsText":"< 0.9.6-r5","eol":null,"hubHref":null},{"vendor":"wolfi","product":"open-webui","name":"open-webui","label":"open-webui","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/open-webui","purlType":"apk","versions":[{"text":"< 0.9.6-r5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.9.6-r5","endInclusive":false}}],"versionsText":"< 0.9.6-r5","eol":null,"hubHref":null},{"vendor":"langchain-ai","product":"langchain","name":"langchain","label":"langchain","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.3.9","endInclusive":false}}],"versionsText":"< 1.3.9","eol":null,"hubHref":"/vendor/langchain-ai/langchain"},{"vendor":"langchain-ai","product":"langchain-anthropic","name":"langchain-anthropic","label":"langchain-anthropic","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.4.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.4.6","endInclusive":false}}],"versionsText":"< 1.4.6","eol":null,"hubHref":"/vendor/langchain-ai/langchain-anthropic"},{"vendor":"langchain","product":"langchain","name":"langchain","label":"langchain","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.3.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.3.9","endInclusive":false}}],"versionsText":"< 1.3.9","eol":null,"hubHref":"/vendor/langchain/langchain"},{"vendor":"PyPI","product":"langchain","name":"langchain","label":"langchain","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langchain","purlType":"pypi","versions":[{"text":"< 1.3.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.3.9","endInclusive":false}}],"versionsText":"< 1.3.9","eol":null,"hubHref":null},{"vendor":"PyPI","product":"langchain-anthropic","name":"langchain-anthropic","label":"langchain-anthropic","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langchain-anthropic","purlType":"pypi","versions":[{"text":"< 1.4.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.4.6","endInclusive":false}}],"versionsText":"< 1.4.6","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-langchain-anthropic&distro=openSUSE Tumbleweed","name":"python-langchain-anthropic","label":"python-langchain-anthropic&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-langchain-anthropic&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 1.7.5-1.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"1.7.5-1.1","endInclusive":false}}],"versionsText":"< 1.7.5-1.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/langchain-ai/langchain/security/advisories/GHSA-gr75-jv2w-4656","label":"github.com/langchain-ai/langchain/security/advisories/GHSA-gr75-jv2w-4656","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Vendor Advisory"]},{"url":"https://github.com/langchain-ai/langchain/commit/dcaf7795a3e6590af55c3ff7bda6add6355e9ea6","label":"github.com/langchain-ai/langchain/commit/dcaf7795a3e6590af55c3ff7bda6add6355e9ea6","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55443","label":"nvd.nist.gov/vuln/detail/CVE-2026-55443","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/langchain-ai/langchain","label":"github.com/langchain-ai/langchain","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/langchain-anthropic","label":"pypi.org/project/langchain-anthropic","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-gr75-jv2w-4656","label":"github.com/advisories/GHSA-gr75-jv2w-4656","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55443.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55443.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-55443","label":"www.suse.com/security/cve/CVE-2026-55443","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-RG72-8PV4-F9CP"]},"timeline":[{"kind":"published","date":"2026-06-22T17:21:46.121Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-22T19:52:02.637Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,51],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00158,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-06-22T19:52:02.637Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2026-06-22T19:52:02.637Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_wolfi","date":"2026-06-22T19:52:02.637Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_chainguard","date":"2026-06-22T19:52:02.637Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.1,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-06-22T19:52:02.637Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-06-22T19:51:55.399Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00158,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T12:01:28.220Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T12:01:28.725Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T12:01:28.919Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T12:01:03.802Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T12:01:26.562Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T12:01:25.560Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T12:43:08.128Z","stale":false,"partial":false}}