Intel

AIKIDO-2026-944829

langsmith is vulnerable to Exposure of Sensitive Information

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 21, 2026
July 21, 2026

57

CVE Score

Medium

Exposure of Sensitive Information

Are you affected? Scan for Free

TL;DR

The langsmith SDK builds trace run metadata with get_langchain_env_var_metadata(), which collects every LANGCHAIN_ and LANGSMITH_ prefixed environment variable except a small excluded set and names containing key, secret, or token. The control-plane signing secrets LANGSMITH_SIGNING_JWKS and LANGSMITH_SANDBOX_CALLBACK_SIGNING_JWK contain none of those substrings, so they are attached to every traced run. On self-hosted and BYOC deployments these Ed25519 signing private keys are forwarded into LangSmith trace metadata, exposing them to anyone able to read the traces. The fix adds both variable names to the excluded set so they are kept out of run metadata.

How do I fix this?

Upgrade the langsmith library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your deployment injects the LANGSMITH_SIGNING_JWKS or LANGSMITH_SANDBOX_CALLBACK_SIGNING_JWK environment variables.

Package

Versions

0.1.46 - 0.10.8

Fixed in 0.10.9

Background info

langsmith is vulnerable to Exposure of Sensitive Information in versions 0.1.46 - 0.10.8.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea