langsmith is vulnerable to Exposure of Sensitive Information
57
CVE Score
Medium
Exposure of Sensitive Information
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.
Upgrade the langsmith library to the patch version.
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.
0.1.46 - 0.10.8
Fixed in 0.10.9langsmith is vulnerable to Exposure of Sensitive Information in versions 0.1.46 - 0.10.8.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.