fix(deps): update dependency langsmith to v0.4.6 [security]#4058
fix(deps): 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-03-14 21:06:35 UTC View DetailsCommand Output
RUN v3.2.4 /home/runner/work/liam/liam/frontend/internal-packages/agent (node:8028) ExperimentalWarning: WASI is an experimental feature and might change at any time ✅ [INFO] 2026-03-14T21:06:37.962Z Context: trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=52c390bb-06e3-4d5c-ad67-40c5e920c53a; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=d273f480-9301-4ee2-803b-063e02fbb0a3; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=9138c76b-368c-4dbe-a5e2-006a0f1da4a8; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=2e413fbe-1089-42a7-a856-d65711114eb6; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=0d99294e-7530-40b1-87e8-129fa95154a4; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=0f731089-c717-494f-811c-ec4158bd1dc3; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=60d629f5-df2a-426f-b14d-dfa4cb884d9d; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=d341b23a-11e8-46b2-abd5-ae3025d08d4e; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=b931fe91-3afd-4f55-817d-1e1f07462a6f; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=ee66a441-0bf9-417e-b005-84d9e15c20e7; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=ff7ce00c-e144-48dd-b686-33e5800de62b; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=4a738887-17e0-4c1e-ba77-920c553445b8; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=f86f4ae7-8151-4cc9-847c-a243c95dba28; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=f4c5a5dd-95f0-4915-b6d4-78b204a8c2ff; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=fec20c4e-2410-429c-8422-db349a1cdafb; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=1ca94c12-46fb-471c-b911-0a2eb29c0ff9; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=969ae3fb-9976-4a86-894f-170a6694e181; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=a29d25aa-190b-498f-a3d0-4e6873019d4f; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=a4ba5b33-127f-4dea-9bb9-82f684fa6c19; trace=52c390bb-06e3-4d5c-ad67-40c5e920c53a,id=0c91f83b-c582-4899-8caf-dc3b07fda8bf 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
This PR contains the following updates:
0.3.73→0.4.6GitHub Vulnerability Alerts
CVE-2026-25528
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 trafficRelease 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: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 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.