MediumVulnerability
GHSA-fw9q-39r9-c252: LangSmith Client SDKs has Prototype Pollution in langsmith-sdk via Incomplete `__proto__` Guard in Internal lodash `set()`
- Identifiers
- CVE-2026-40190GHSA-fw9q-39r9-c252
- Published
- Record updated
- 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.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- langsmithnpmNo LLM dependency detected · 8 tracked dependents
Related items
- MediumGHSA-8prr-f582-jqq3: LangGraph CLI prints the registry push token in `langgraph deploy --verbose` outputSame vendor · GitHub Advisory Database
- HighGHSA-4hm6-w6qq-w73v: LangGraph JavaScript custom authentication may permit cross-user Store accessSame vendor · GitHub Advisory Database
- MediumGHSA-3fx2-cqw9-xr3c: LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requestsSame vendor · GitHub Advisory Database
- MediumGHSA-6hmw-9432-67qq: LangGraph: Namespace labels containing `.` reach other namespaces in Postgres and SQLite storesSame vendor · GitHub Advisory Database
- MediumCVE-2026-108575: BerriAI LiteLLM improper authorization in secret resolution via api_keySame vendor · NVD/CVE Database