Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| langchain-ai | langsmith-sdk | < 0.5.19, < 0.7.31 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-langsmith | 0.10.3-1.1 | openSUSE-SU-2026:11284-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | langfuse-3 +1 | 3.164.0-r6 | — |
| Wolfi rolling | open-webui | 0.8.12-r4 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | langsmith | < 0.5.19 | 0.5.19 | GHSA-rr7j-v2q5-chgv |
| PyPI | langsmith | < 0.7.31 | 0.7.31 | GHSA-rr7j-v2q5-chgv |
Advisories 2
- WID-SEC-2026-3046 IBM Concert: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 10, 2026
- openSUSE-SU-2026:11284-1 python313-langsmith-0.10.3-1.1 on GA media SUSE / openSUSE Security Updates · Jul 16, 2026