# CVE-2026-40190: LangSmith Client SDKs has Prototype Pollution in langsmith-sdk via Incomplete \`\_\_proto\_\_\` Guard in Internal lodash \`set()\`

- Priority: **Routine**
- Reason: Not severe (CVSS 5.6, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-10 · Modified: 2026-04-13
- Aliases: CGA-3mfp-3xjg-6c25, CGA-565x-9rj5-rhj8, CGA-567c-mh56-fcj3, CGA-g3h3-5r62-8678, CGA-gghg-gj8h-mg6g, CGA-hj3p-m9rp-9rf6, CGA-hpmf-gr6m-wqm2, CGA-mgx8-2v3p-7w8w, GHSA-fw9q-39r9-c252, CGA-269r-wjc9-xqxq, CGA-27xc-75wq-q4w2, CGA-2cw2-gccq-cx2g, CGA-2v5v-x25c-w7m5, CGA-2w6x-7h3v-cwp7, CGA-34wh-rj56-5w55, CGA-39rm-8hxp-65jg, CGA-3c73-42hc-gpf6, CGA-3gfj-qq9q-92wh, CGA-3jvg-m8h5-4553, CGA-3p8w-v3h2-vw33, CGA-3vf9-p284-ghrw, CGA-3wrw-vwcw-mr7x, CGA-432c-8hf9-2vjc, CGA-47m7-6p89-hcg4, CGA-4r7f-hvqg-848r, CGA-54j7-w3xg-gm54, CGA-579v-jg6g-j6mf, CGA-588r-p87x-r98j, CGA-58jq-6pvx-hwfg, CGA-5cxq-h92p-6rqj, CGA-63hx-p9h5-mgw4, CGA-67xm-5868-cmfp, CGA-6jv3-7j74-6w9j, CGA-6mcm-x8x3-6hh3, CGA-738x-2648-4r7g, CGA-74gw-qppx-8cg2, CGA-74pw-vm93-v4fq, CGA-765h-vwj6-h3mc, CGA-76r4-qf56-6qg2, CGA-7c93-892c-77pr, CGA-7v8x-j65f-2j5q, CGA-7vgj-m55m-6q2q, CGA-7w2g-m78m-9937, CGA-7xhr-2vfh-qhqg, CGA-83vp-m7v4-82gh, CGA-8c76-2cvw-2xv7, CGA-8g38-h9vr-vgm6, CGA-8jch-j6ph-j6gr, CGA-8jp9-w3vx-mcfv, CGA-8v5x-4ch5-45cr, CGA-92x9-ff55-25jc, CGA-9572-p4vw-j6rj, CGA-95pg-63xx-ph7f, CGA-9pv5-8x3h-gx7v, CGA-9r97-8gx2-5qpq, CGA-9vfj-r454-887q, CGA-9x23-grwv-jfr5, CGA-c9c3-2qfc-xvhc, CGA-cc39-c674-83xf, CGA-cg33-hfgv-36pq, CGA-cm4x-rgcg-jx3h, CGA-cw6f-25x4-7qjr, CGA-f4hq-85pv-j29j, CGA-f6pc-fvhj-rxj9, CGA-f85w-f47w-jhv2, CGA-ffq7-gph7-gqvm, CGA-fhwv-98p4-hpf2, CGA-fp8r-pxp4-cvr2, CGA-g4fh-gvwp-cwqh, CGA-g4h8-vgrg-gvwm, CGA-g82q-v378-8gw3, CGA-gc9g-h342-qhmx, CGA-gh4v-xc7c-59x5, CGA-ghvp-fr3p-j2v5, CGA-gjv3-8h8c-fq6w, CGA-h4c2-r4wj-8r2j, CGA-h5xh-9xmw-5rx2, CGA-h8wp-jr47-27w5, CGA-hg66-mgr5-47jp, CGA-hh4f-m682-8grf, CGA-hjx5-qrvq-4cm9, CGA-hvm7-m7gj-wxgf, CGA-j28j-6m9j-5r2q, CGA-j57r-8hgj-rpjq, CGA-j5mj-99vq-hww8, CGA-j9mw-hj3m-4683, CGA-jj38-3f3q-pr5f, CGA-jw94-g3h3-52fm, CGA-m4jw-x683-pqj4, CGA-m62p-3p86-5pw8, CGA-m7hc-h592-rm4p, CGA-m9f8-wqjc-9gv4, CGA-mq73-pmgr-5wwc, CGA-mrxv-3q5q-27p8, CGA-mw86-mqmm-25hp, CGA-mwmp-24rh-xv2w, CGA-mx24-qrvp-w476, CGA-mxrg-rrjx-fcm9, CGA-p3q5-3ppv-hvjc, CGA-p4cv-g6rq-mcqv, CGA-p53v-hp4p-v472, CGA-p5g4-wpcc-2w24, CGA-p6w4-647j-q453, CGA-p85p-qgwf-j2h5, CGA-pcvh-pgj7-rvqj, CGA-pg8h-cm77-xp68, CGA-ppq9-mgqp-3g4v, CGA-pvcp-89r4-4q3c, CGA-pvvw-h545-g99c, CGA-px93-4qg6-jf6q, CGA-q8q6-cj2x-wf96, CGA-qh9h-wprm-3mj9, CGA-qq2f-jvqc-9873, CGA-qvpv-c577-m9rh, CGA-qw3w-x5c6-7rph, CGA-r5v6-m8xj-v46f, CGA-r5w4-cv9f-grf4, CGA-r8w5-fvhq-rgpx, CGA-rmr9-3rp3-c74v, CGA-rqj8-24pj-3vc2, CGA-rvpf-ww2v-82v5, CGA-rw3v-67g5-7g22, CGA-v349-3v23-x832, CGA-v42j-pv3j-22wg, CGA-vm9h-4544-4pgm, CGA-vpr8-6p6h-r58g, CGA-vwrf-9457-6f6j, CGA-vwxm-32jf-hv2x, CGA-w2w5-269m-mrr3, CGA-w5cm-8xjq-5hj6, CGA-w673-r9wg-mjp8, CGA-w8pm-wpp5-8c44, CGA-whj6-wrg2-3rj6, CGA-wmg3-44vw-36fr, CGA-wr9p-8qw8-vq5v, CGA-wv48-rqc7-83m3, CGA-x4r3-gwc8-j7x3, CGA-xqpx-hg5w-h2qr, CGA-xvx2-hm37-5ghm, CGA-xx85-xggx-6qxx, CGA-xxmp-2r6g-8475
- Record: https://cvemate.com/vulnerability/CVE-2026-40190 · JSON: https://cvemate.com/vulnerability/CVE-2026-40190/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.332%, percentile 28.428%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 31)

- chainguard kibana-8.17 (Chainguard): \< 8.17.10-r17
- chainguard kibana-8.17-bitnami (Chainguard): \< 8.17.10-r17
- chainguard kibana-8.17-iamguarded (Chainguard): \< 8.17.10-r17
- chainguard kibana-8.18 (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.18-bitnami (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.18-iamguarded (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.19 (Chainguard): \< 8.19.14-r2
- chainguard kibana-8.19-bitnami (Chainguard): \< 8.19.14-r2
- chainguard kibana-8.19-iamguarded (Chainguard): \< 8.19.14-r2
- chainguard kibana-9.0 (Chainguard): \< 9.0.8-r19
- chainguard kibana-9.0-bitnami (Chainguard): \< 9.0.8-r19
- chainguard kibana-9.0-iamguarded (Chainguard): \< 9.0.8-r19
- chainguard kibana-9.1 (Chainguard): \< 9.1.10-r12
- chainguard kibana-9.1-iamguarded (Chainguard): \< 9.1.10-r12
- chainguard kibana-9.2 (Chainguard): \< 9.2.7-r5
- chainguard kibana-9.2-iamguarded (Chainguard): \< 9.2.7-r5
- chainguard kibana-9.3 (Chainguard): \< 9.3.3-r4
- chainguard kibana-9.3-iamguarded (Chainguard): \< 9.3.3-r4
- chainguard langfuse-2-worker (Chainguard): \< 2.95.12-r19
- chainguard langfuse-3 (Chainguard): \< 3.164.0-r6

## References

- <https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-fw9q-39r9-c252>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40190>
- <https://github.com/langchain-ai/langsmith-sdk/pull/2690>
- <https://github.com/langchain-ai/langsmith-sdk/commit/31d3c3aec02892f4312baae112f817d6b2f0ebe3>
- <https://github.com/langchain-ai/langsmith-sdk>

---

Data as of 2026-12-05T11:27:49.136Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
