Inclusion of Sensitive Information in Log Files in langsmith-sdk - CVE-2026-41182
Published: April 15, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to insertion of sensitive information into log data in streaming token event handling when processing streaming LLM output. A remote attacker can trigger streaming output so that raw token values are recorded in new_token events to disclose sensitive information.
The issue affects both the JavaScript and Python SDK implementations, where output redaction applies to inputs and outputs fields but not to the events array.
Affected software
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data
How to mitigate CVE-2026-41182
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 5.4.0 Patch 3