Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-41182: LangSmith Client SDKs output redaction bypassed by streaming token events

Identifier
CVE-2026-41182
Published
Record updated
View JSON

Summary

The LangSmith Client SDKs, in JavaScript before 0.5.19 and Python before 0.7.31, fail to apply output redaction (hideOutputs / hide_outputs) to streaming token events. Each streamed chunk is recorded as a new_token event with its raw value, and the redaction functions prepareRunCreateOrUpdateInputs and _hide_run_outputs only process the inputs and outputs fields, never the events array. Applications that rely on output redaction therefore still store the full streamed LLM output in LangSmith.

Mitigation

Fixed in JavaScript SDK 0.5.19 and Python SDK 0.7.31.