CVE-2026-41182
published medium CVSS 3.1 · 5.3LangSmith SDK: Streaming token events bypass output redaction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| langchain-ai | — | langsmith-sdk< 0.5.19 · < 0.7.31 | 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 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.
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.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| langchain-ai | langsmith-sdk | < 0.5.19 (affected)< 0.7.31 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-359 CWE-359: Exposure of Private Personal Information to an Unauthorized Actor
- CWE-532 CWE-532: Insertion of Sensitive Information into Log File
References
1Provider assertions
2GitHub_M · cna
LangSmith SDK: Streaming token events bypass output redaction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 789679ccad1531bd380fedc1f901c046a824ac41a8e5a4c3569fd8a0e9ec11c9
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record