{"schemaVersion":3,"id":"CVE-2026-59152","aliases":["GHSA-f4xh-w4cj-qxq8"],"status":"published","duplicateOf":null,"title":null,"description":"LangSmith Client SDKs provide SDK's for interacting with the LangSmith platform. Prior to 0.8.18, an attacker who can send an HTTP request to a server running the LangSmith SDK's TracingMiddleware can cause that server to read an arbitrary file from its local filesystem and upload the contents to LangSmith as a trace attachment. Depending on how the distributed trace system is deployed, triggering a read may not require authentication. Retrieving the contents requires read access to the LangSmith workspace the traces are sent to. The net effect is a trust-boundary crossing: a party with workspace trace-read access (for example a low-privilege workspace member, a contractor, or a compromised teammate account) gains the ability to read files from any server running TracingMiddleware, a capability outside that workspace's intended trust boundary. This vulnerability is fixed in 0.8.18.","dates":{"published":"2026-07-06T14:26:55.765Z","modified":"2026-07-07T15:17:40.993Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","exploitability":7.9,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00198,"percentile":0.09065,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00198},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00198,"percentile":0.09065}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00198,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00198,"percentile":0.09065}]},"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 ('Path Traversal')","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-346","name":"Origin Validation Error","description":"The product does not properly verify that the source of data or communication is valid.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/346.html"},{"id":"CWE-843","name":"Access of Resource Using Incompatible Type ('Type Confusion')","description":"The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/843.html"}],"affected":[{"vendor":"langchain-ai","product":"langsmith-sdk","name":"langsmith-sdk","label":"langsmith-sdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.8.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.18","eol":null,"hubHref":"/vendor/langchain-ai/langsmith-sdk"},{"vendor":"PyPI","product":"langsmith","name":"langsmith","label":"langsmith","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/langsmith","purlType":"pypi","versions":[{"text":"< 0.8.18","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.8.18","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-f4xh-w4cj-qxq8","label":"github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-f4xh-w4cj-qxq8","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/langchain-ai/langsmith-sdk","label":"github.com/langchain-ai/langsmith-sdk","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-07-06T14:26:55.765Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-07T15:17:40.993Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":20,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:35:01.509Z","stale":false,"partial":false}}