chore(deps): update dependency langsmith to v0.8.18 [security]#440
Open
a-klos wants to merge 1 commit into
Open
chore(deps): update dependency langsmith to v0.8.18 [security]#440a-klos wants to merge 1 commit into
a-klos wants to merge 1 commit into
Conversation
a-klos
force-pushed
the
renovate/pypi-langsmith-vulnerability
branch
from
July 19, 2026 00:39
6854a50 to
764ee5a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.8.8->0.8.18GitHub Vulnerability Alerts
GHSA-f4xh-w4cj-qxq8
Summary
An attacker who can send an HTTP request to a server running the LangSmith SDK's
TracingMiddlewarecan 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 runningTracingMiddleware, a capability outside that workspace's intended trust boundary.Impact
Confidentiality (High): arbitrary read of files accessible to the server process, exposed to anyone with workspace trace-read access.
Details
Two defects combine. A field supplied through a tracing-propagation header was merged into the run without validation, allowing injection of run attributes including attachments (CWE-346). A type check intended to gate filesystem access did not match the type of the decoded input, so the guard never engaged (CWE-843). As a result, an attacker-named file is opened by the server and uploaded as a trace attachment by the background tracing thread (CWE-22).
Who can exploit this
Remediation
Upgrade the Python SDK to
>= 0.8.18.Workarounds
Until upgrading, do not expose
TracingMiddlewareto untrusted HTTP traffic, and limit workspace trace-read access to trusted members.Credits
First reported by @Ryu7zz.
Release Notes
langchain-ai/langsmith-sdk (langsmith)
v0.8.18Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.8.17...v0.8.18
v0.8.17Compare Source
What's Changed
isTracingEnabledutility from Python by @dqbd in #3032New Contributors
Full Changelog: langchain-ai/langsmith-sdk@v0.8.16...v0.8.17
v0.8.16Compare Source
What's Changed
New Contributors
Full Changelog: langchain-ai/langsmith-sdk@v0.8.15...v0.8.16
v0.8.15Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.8.14...v0.8.15
v0.8.14Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.8.13...v0.8.14
v0.8.12Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.8.11...v0.8.12
v0.8.11Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.8.10...v0.8.11
v0.8.10Compare Source
What's Changed
94527f2to37802adby @dependabot[bot] in #2968ac6db6dto0e279bbby @dependabot[bot] in #2970499c1e7to5c5dfc0by @dependabot[bot] in #2969New Contributors
Full Changelog: langchain-ai/langsmith-sdk@v0.8.9...v0.8.10
v0.8.9Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.8.8...v0.8.9
Configuration
📅 Schedule: Branch creation - "" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.