CVE-2026-40190
published medium CVSS 3.1 · 5.6LangSmith Client SDKs has Prototype Pollution in langsmith-sdk via Incomplete `__proto__` Guard in Internal lodash `set()`
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| langchain-ai | — | langsmith-sdk< 0.5.18 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-langsmithaarch64 | Advisory build | 0.10.3-1.1 | OPENSUSE-SU-2026:11284-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-langsmithppc64le | Advisory build | 0.10.3-1.1 | OPENSUSE-SU-2026:11284-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-langsmiths390x | Advisory build | 0.10.3-1.1 | OPENSUSE-SU-2026:11284-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-langsmithx86_64 | Advisory build | 0.10.3-1.1 | OPENSUSE-SU-2026:11284-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-langsmithaarch64 | Advisory build | 0.10.3-1.1 | OPENSUSE-SU-2026:11284-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-langsmithppc64le | Advisory build | 0.10.3-1.1 | OPENSUSE-SU-2026:11284-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-langsmiths390x | Advisory build | 0.10.3-1.1 | OPENSUSE-SU-2026:11284-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-langsmithx86_64 | Advisory build | 0.10.3-1.1 | OPENSUSE-SU-2026:11284-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.6 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| langchain-ai | langsmith-sdk | < 0.5.18 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
1Provider assertions
2GitHub_M · cna
LangSmith Client SDKs has Prototype Pollution in langsmith-sdk via Incomplete `__proto__` Guard in Internal lodash `set()`
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4949d76e22ca36731af2c9bb83697e621c430d47c1fd06219af696a9d3896101
- Ingested
- 23 Sep 2026, 09:13:02 UTC
- Source record
- Official CVE record