Home

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.

PUBLISHED Reserved 2026-04-17 | Published 2026-04-23 | Updated 2026-04-23 | Assigner GitHub_M




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Problem types

CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

CWE-359: Exposure of Private Personal Information to an Unauthorized Actor

CWE-532: Insertion of Sensitive Information into Log File

Product status

< 0.5.19
affected

< 0.7.31
affected

References

github.com/...th-sdk/security/advisories/GHSA-rr7j-v2q5-chgv

cve.org (CVE-2026-41182)

nvd.nist.gov (CVE-2026-41182)

Download JSON