Intel

AIKIDO-2026-478662

langsmith is vulnerable to Information Disclosure

Information Disclosure Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 2 days ago

59

Medium Risk

This Affects:

PYTHONlangsmith
0.10.18 - 0.10.18
Fixed in 0.11.0
Are you affected? Scan for Free

TL;DR

The Anthropic client wrapper records the arguments passed to Anthropic message calls as trace inputs and invocation metadata. When a caller supplies mcp_servers definitions, the wrapper copies them verbatim, including authorization tokens and other sensitive connection fields, into the data uploaded to LangSmith. This exposes MCP server credentials to anyone able to read the resulting traces. The fix redacts non-allowlisted mcp_servers fields with a placeholder and stops recording mcp_servers in Anthropic run invocation metadata.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you use the Anthropic wrapper with mcp_servers definitions that carry authorization tokens or other sensitive connection fields.

Background info

langsmith is vulnerable to Information Disclosure in versions 0.10.18 - 0.10.18.

How to fix this

Upgrade the langsmith library to the patch version.