Skip to content
MediumVulnerability

GHSA-fw9q-39r9-c252: LangSmith Client SDKs has Prototype Pollution in langsmith-sdk via Incomplete `__proto__` Guard in Internal lodash `set()`

Published
Record updated
View JSON
Affected
  • langsmith <= 0.5.17
Fixed in
0.5.18
  • released April 9, 2026, 1 day before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%

Summary

The LangSmith JavaScript/TypeScript SDK (langsmith, versions <= 0.5.17) contains an incomplete prototype pollution fix in its vendored lodash set() utility. The baseAssignValue() guard blocks only the __proto__ key, so a path such as constructor.prototype can still reach Object.prototype through the createAnonymizer() API when an attacker controls keys in the processed data. The source states this pollutes all objects in the Node.js process and rates the issue Medium (CVSS ~5.6).

Mitigation

Fixed in 0.5.18.