CVE-2026-40190
LangSmith Client SDKs has Prototype Pollution in langsmith-sdk via Incomplete `__proto__` Guard in Internal lodash `set()`
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon GHSA (moyenne).
Description
LangSmith Client SDKs provide SDK's for interacting with the LangSmith platform. Prior to 0.5.18, the LangSmith JavaScript/TypeScript SDK (langsmith) contains an incomplete prototype pollution fix in its internally vendored lodash set() utility. The baseAssignValue() function only guards against the __proto__ key, but fails to prevent traversal via constructor.prototype. This allows an attacker who controls keys in data processed by the createAnonymizer() API to pollute Object.prototype, affecting all objects in the Node.js process. This vulnerability is fixed in 0.5.18.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| chainguard | kibana-8.17, kibana-8.19, kibana-9.0 et 8 autres | 8.17.10-r17 et 10 autres |
| echo npm::Echo OSV | langsmith | 0.5.18 |
| minimos | kibana-8.19, kibana-9.3, langfuse-4 et 1 autres | 8.19.16-r0 et 3 autres |
| npm::GitHub Security Advisory npm | langsmith | 0.5.18 |
| wolfi | langfuse-3 | 3.164.0-r6 |
Afficher les 18 entrées de 5 sources
| Source | Paquet | Corrigé en |
|---|---|---|
| chainguard | kibana-8.17 | 8.17.10-r17 |
| chainguard | kibana-8.19 | 8.19.14-r2 |
| chainguard | kibana-9.0 | 9.0.8-r19 |
| chainguard | kibana-9.1 | 9.1.10-r12 |
| chainguard | kibana-9.2 | 9.2.7-r5 |
| chainguard | kibana-9.3 | 9.3.3-r4 |
| chainguard | langfuse-2 | 2.95.12-r19 |
| chainguard | langfuse-3 | 3.164.0-r6 |
| chainguard | langfuse-fips-2 | 2.95.12-r22 |
| chainguard | langfuse-fips-3 | 3.164.0-r3 |
| chainguard | librechat | 0.8.4-r5 |
| echo npm::Echo OSV | langsmith | 0.5.18 |
| minimos | kibana-8.19 | 8.19.16-r0 |
| minimos | kibana-9.3 | 9.3.5-r0 |
| minimos | langfuse-4 | 4.16.0-r0 |
| minimos | trigger-dev | 4.5.0-r0 |
| npm::GitHub Security Advisory npm | langsmith | 0.5.18 |
| wolfi | langfuse-3 | 3.164.0-r6 |
Références
- https://advisory.echohq.com/cve/CVE-2026-40190
- https://github.com/advisories/GHSA-fw9q-39r9-c252
- https://github.com/langchain-ai/langsmith-sdk
- https://github.com/langchain-ai/langsmith-sdk/commit/31d3c3aec02892f4312baae112f817d6b2f0ebe3
- https://github.com/langchain-ai/langsmith-sdk/pull/2690
- https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-fw9q-39r9-c252
- https://nvd.nist.gov/vuln/detail/CVE-2026-40190