# CVE-2026-41182: LangSmith SDK: Streaming token events bypass output redaction

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-23 · Modified: 2026-04-23
- Aliases: GHSA-rr7j-v2q5-chgv, PYSEC-2026-2583, CGA-4g3w-xcwr-2g7p, CGA-4x56-87wx-75c5, CGA-6835-gqv6-9pgp, CGA-8g4c-2v8f-9mrx, CGA-9mff-q73p-h2pp, CGA-cvxx-f8x7-m4c2, CGA-fq5c-w6cf-f5h2, CGA-hcrx-7qj5-42xf, CGA-m246-62q5-g9mf, CGA-rh9h-vxwh-8rrv, CGA-27mx-c6rc-7rm9, CGA-3f8c-c583-wr4c, CGA-48x8-fqv6-853f, CGA-49vq-g2hp-q726, CGA-4c3p-5867-jjxr, CGA-583v-qw2x-23cr, CGA-5977-9gc7-r5f9, CGA-5gf2-6cc3-jj65, CGA-5h7f-9277-gx8v, CGA-5jr4-8cv2-j2mg, CGA-5qg5-9wgc-f3x8, CGA-6j74-6r36-26r7, CGA-768r-54qg-v8wg, CGA-76h5-f9xj-mpff, CGA-82pw-9643-33gh, CGA-8865-p986-8c69, CGA-88x4-p825-598p, CGA-8966-xgw3-8mq5, CGA-8cwf-fr49-qh9x, CGA-9v8w-r4j6-jhrr, CGA-cg8c-x7m2-7836, CGA-cmv9-c7f7-3w7m, CGA-fhc5-xv84-67hr, CGA-fw35-pvv4-5c53, CGA-gh6q-xgc3-q3q7, CGA-h5v8-wf92-q64x, CGA-hpmp-4hff-fjmx, CGA-hxxh-fpv5-mc9w, CGA-jh24-r28x-gccr, CGA-jvj4-9h63-vq8v, CGA-mr5q-p88r-wq9j, CGA-q65m-xq4j-xxh3, CGA-qh45-9x27-w2x3, CGA-r3cj-8vj6-xgx6, CGA-r8jc-9qp3-28f9, CGA-r8ph-ph82-88cv, CGA-rg7r-c89q-c3fr, CGA-vm2g-pjf4-37gc, CGA-w2xf-ccgw-6wf9, CGA-w9wr-frg8-8rvw, CGA-whcw-3wf4-466j, CGA-x6x4-pgxr-9h2f, CGA-x894-396p-3rxg, CGA-xh63-j7xq-p2g5
- Record: https://cvemate.com/vulnerability/CVE-2026-41182 · JSON: https://cvemate.com/vulnerability/CVE-2026-41182/json

## Description

```text
LangSmith Client SDKs provide SDK's for interacting with the LangSmith platform. Prior to version 0.5.19 of the JavaScript SDK and version 0.7.31 of the Python SDK, the LangSmith SDK's output redaction controls (hideOutputs in JS, hide_outputs in Python) do not apply to streaming token events. When an LLM run produces streaming output, each chunk is recorded as a new_token event containing the raw token value. These events bypass the redaction pipeline entirely — prepareRunCreateOrUpdateInputs (JS) and _hide_run_outputs (Python) only process the inputs and outputs fields on a run, never the events array. As a result, applications relying on output redaction to prevent sensitive LLM output from being stored in LangSmith will still leak the full streamed content via run events. Version 0.5.19 of the JavaScript SDK and version 0.7.31 of the Python SDK fix the issue.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.223%, percentile 13.701%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 21)

- 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-9.2 (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
- chainguard langfuse-3-worker (Chainguard): \< 3.164.0-r6
- chainguard langfuse-fips-2-worker (Chainguard): \< 2.95.12-r22
- chainguard langfuse-fips-3 (Chainguard): \< 3.164.0-r3
- chainguard langfuse-fips-3-worker (Chainguard): \< 3.164.0-r3
- chainguard langfuse-fips-3.152-worker (Chainguard): All versions (No fix recorded)
- chainguard librechat (Chainguard): \< 0.8.4-r5
- chainguard open-webui (Chainguard): \< 0.9.2-r0 \| \< 0.8.12-r4
- wolfi langfuse-3 (Wolfi): \< 3.164.0-r6
- wolfi langfuse-3-worker (Wolfi): \< 3.164.0-r6
- wolfi open-webui (Wolfi): \< 0.9.2-r0 \| \< 0.8.12-r4
- langchain-ai langsmith-sdk: \< 0.5.19 \| \< 0.7.31
- Npm langsmith (Npm): \< 0.5.19

## References

- <https://github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-rr7j-v2q5-chgv>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41182>
- <https://github.com/langchain-ai/langsmith-sdk>
- <https://pypi.org/project/langsmith>
- <https://github.com/advisories/GHSA-rr7j-v2q5-chgv>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41182.json>

---

Data as of 2026-12-05T11:15:59.750Z. 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
