Skip to content

Bump langsmith 0.3.45 -> 0.10.2 to fix TracingMiddleware file-read vuln#215

Merged
yzx9 merged 1 commit into
mainfrom
langsmith-upgrade-test
Jul 14, 2026
Merged

Bump langsmith 0.3.45 -> 0.10.2 to fix TracingMiddleware file-read vuln#215
yzx9 merged 1 commit into
mainfrom
langsmith-upgrade-test

Conversation

@yzx9

@yzx9 yzx9 commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

langsmith < 0.8.18 lets an HTTP peer trigger an arbitrary server-side file read through TracingMiddleware and upload the contents as a trace attachment. langsmith is only a transitive dependency (pulled in by the langchain packages) and is neither imported nor configured anywhere in this repo, but upgrading clears the Dependabot alerts.

Regenerated with: uv lock --upgrade-package langsmith. Side effects: adds xxhash 3.8.1 (new transitive dep of langsmith 0.10.2) and corrects the stale project version recorded in the lock (0.1.0 -> 1.1.0). uv lock --check passes.

Assisted-by: Claude-Code:GLM-5.2

langsmith < 0.8.18 lets an HTTP peer trigger an arbitrary server-side file read through TracingMiddleware and upload the contents as a trace attachment. langsmith is only a transitive dependency (pulled in by the langchain packages) and is neither imported nor configured anywhere in this repo, but upgrading clears the Dependabot alerts.

Regenerated with: uv lock --upgrade-package langsmith. Side effects: adds xxhash 3.8.1 (new transitive dep of langsmith 0.10.2) and corrects the stale project version recorded in the lock (0.1.0 -> 1.1.0). uv lock --check passes.

Assisted-by: Claude-Code:GLM-5.2
@yzx9 yzx9 added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jul 14, 2026
@yzx9

yzx9 commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator Author

The CI errors are primarily frontend-related, caused by the latest version of TypeScript. I will fix those in a separate PR.

Since there are no other issues, I'm going to merge this PR to address the underlying security vulnerabilities.

@yzx9
yzx9 merged commit 4583b53 into main Jul 14, 2026
6 of 7 checks passed
@yzx9
yzx9 deleted the langsmith-upgrade-test branch July 14, 2026 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant