Vulnerability library
Security checkFebruary 09, 2026

LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmlangsmith

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The LangSmith SDK’s distributed tracing feature is vulnerable to Server-Side Request Forgery via malicious HTTP headers. An attacker can inject arbitrary api_url values through the baggage header, causing the SDK to exfiltrate sensitive trace data to attacker-controlled endpoints.


Recommendation

Update the langsmith package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 0.3.41, < 0.4.6
  • Patched version(s): 0.4.6

References

Could your website be exposed too?

SmartScanner can check your website for LangSmith Client SDK Affected by Server-Side Request Forgery via Tracing Header Injection and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 09, 2026