Update dependency langsmith to v0.4.6 [SECURITY]#4058
Update dependency langsmith to v0.4.6 [SECURITY]#4058renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Finished running flow.
|
||||||||||||
Check changeset necessityStatus: NOT REQUIRED Reason:
Changeset (copy & paste):<!-- No changeset required for this PR --> |
🤖 Agent Deep Modeling ExecutionStarted at: 2026-04-29 19:08:38 UTC View DetailsCommand Output
RUN v3.2.4 /home/runner/work/liam/liam/frontend/internal-packages/agent (node:8040) ExperimentalWarning: WASI is an experimental feature and might change at any time ✅ [INFO] 2026-04-29T19:08:41.031Z Context: trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=51b62667-aa6e-4274-ac41-c807dad2518f; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=09c5ec6b-844f-4a24-afa5-8d162abd98b8; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=71faadfb-f77f-4cb9-b017-1a6de42f1e76; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=26b85d32-6871-4a01-887f-a8d76b2600f3; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=58c16d5b-5b93-400a-9dbf-95ed47785093; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=9e4bd579-4bd0-428e-88aa-767b07f91101; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=5fcb3e8c-3733-4df9-b150-994b0020bd64; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=7297409e-be5e-4173-8bd1-861b2dc5707e; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=438df7a1-7bf2-4666-affb-14df045b94c0; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=99a94011-c48f-467c-b5e4-43a13318734d; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=5bca6881-71ea-42e1-9118-21a208005003; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=17c6ce16-6116-41b6-a2f8-d82ac4340f33; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=868d831f-17d3-46ce-ab57-74f5b35f9806; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=d8b2ef8b-b38a-4724-8846-e161528fd9e6; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=3e211ad1-0db9-4bc1-9f25-edf1954af9c5; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=4fa7026f-3c6e-47e2-972b-60ae6bdb367c; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=ef514a5a-430b-4824-8e60-27babf71f360; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=886487c5-4515-4a67-92c8-5b74cc19b3e3; trace=3c5530ca-a037-46cb-a3a2-3d7d752cc2c2,id=29840f12-1403-4e5e-a13a-c0f37109b05e x ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯ FAIL src/createGraph.integration.test.ts > createGraph Integration > should execute complete workflow Troubleshooting URL: https://js.langchain.com/docs/troubleshooting/errors/MODEL_AUTHENTICATION/ ❯ RunnableCallable.analyzeRequirementsNode [as func] src/pm-agent/nodes/analyzeRequirementsNode.ts:38:11 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed (1) ELIFECYCLE Command failed with exit code 1. |
80175f6 to
2557f77
Compare
2557f77 to
eb90a13
Compare
eb90a13 to
2a1207e
Compare
This PR contains the following updates:
0.3.73→0.4.6LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection
CVE-2026-25528 / GHSA-v34v-rq6j-cj6p
More information
Details
Summary
The LangSmith SDK's distributed tracing feature is vulnerable to Server-Side Request Forgery via malicious HTTP headers. An attacker can inject arbitrary
api_urlvalues through thebaggageheader, causing the SDK to exfiltrate sensitive trace data to attacker-controlled endpoints.Description
When using distributed tracing, the SDK parses incoming HTTP headers via
RunTree.from_headers()in Python orRunTree.fromHeaders()in Typescript. Thebaggageheader can contain replica configurations includingapi_urlandapi_keyfields.Prior to the fix, these attacker-controlled values were accepted without validation. When a traced operation completes, the SDK's
post()andpatch()methods send run data to all configured replica URLs, including any injected by an attacker.Attack Vector
Attacker sends an HTTP request to a vulnerable service with a malicious
baggageheader:The service parses the header via
RunTree.from_headers(), storing the attacker's URLWhen the traced operation completes, the SDK sends the full run data (including LLM inputs, outputs, and metadata) to
https://attacker.com/exfilImpact
Affected Use Cases
Applications are vulnerable if they:
TracingMiddlewareto automatically propagate tracing contextRunTree.from_headers()/RunTree.fromHeaders()with untrusted HTTP headersRemediation
Update to the patched versions:
pip install langsmith>=0.6.3npm install langsmith@>=0.4.6The fix filters incoming replica configurations to an allowlist of safe fields, removing
api_url,api_key, and other credential fields.Workarounds
If unable to upgrade immediately:
baggageheader before passing tofrom_headers()TracingMiddlewarewith untrusted trafficSeverity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
langchain-ai/langsmith-sdk (langsmith)
v0.4.6Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.4.5...v0.4.6
v0.4.5Compare Source
What's Changed
New Contributors
Full Changelog: langchain-ai/langsmith-sdk@v0.4.4...v0.4.5
v0.4.4Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.4.3...v0.4.4
v0.4.3Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.4.2...v0.4.3
v0.4.2Compare Source
What's Changed
New Contributors
Full Changelog: langchain-ai/langsmith-sdk@v0.4.1...v0.4.2
v0.4.1Compare Source
What's Changed
Full Changelog: langchain-ai/langsmith-sdk@v0.4.0...v0.4.1
v0.4.0What's Changed
New Contributors
Full Changelog: langchain-ai/langsmith-sdk@v0.3.45...v0.4.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.