{"data":{"id":"2b867898-226e-41b1-bb5e-0fdbe00009b4","title":"GHSA-f4xh-w4cj-qxq8: LangSmith SDK TracingMiddleware: Arbitrary server-side file read","summary":"A flaw in the LangSmith SDK's TracingMiddleware lets an attacker who can send HTTP requests to a server running it make that server read an arbitrary local file and upload the contents to LangSmith as a trace attachment. Retrieving the contents requires read access to the destination LangSmith workspace, and triggering the read may not require authentication, depending on deployment. The flaw combines an unvalidated tracing-propagation header field (CWE-346), a type check that never engages (CWE-843), and a path traversal read (CWE-22).","solution":"Upgrade the Python SDK to `>= 0.8.18`. Until upgrading, do not expose `TracingMiddleware` to untrusted HTTP traffic, and limit workspace trace-read access to trusted members.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-f4xh-w4cj-qxq8","publishedAt":"2026-06-19T22:10:34.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["langsmith@< 0.8.18 (fixed: 0.8.18)"],"affectedPackageNames":["langsmith"],"affectedPackageRefs":["pypi:langsmith"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["LangSmith SDK","LangSmith"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":["GHSA-f4xh-w4cj-qxq8"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-06-19T22:10:34.000Z","fixReleasedAt":"2026-06-19T13:12:15.348Z","daysToFix":0,"fixCheckedAt":"2026-10-29T21:34:00.931Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"langsmith","fixedVersion":"0.8.18","matchedVersion":"0.8.18","fixReleasedAt":"2026-06-19T13:12:15.348Z","daysToFix":0,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:34:00.786Z"}]}}