Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-41182— LangSmith SDK: Streaming token events bypass output redaction

Quick assessment

Affected
langchain-ai langsmith-sdk
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

LangSmith Client SDKs是LangChain开源的一个开发者工具包。 LangSmith Client SDKs存在信息泄露漏洞,该漏洞源于输出编辑控制不适用于流式token事件,可能导致敏感LLM输出泄露。

CVSS 5.3 · Medium EPSS 0.36% · P27

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-41182

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LangSmith SDK: Streaming token events bypass output redaction
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
LangSmith Client SDKs 信息泄露漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
LangSmith Client SDKs是LangChain开源的一个开发者工具包。 LangSmith Client SDKs存在信息泄露漏洞,该漏洞源于输出编辑控制不适用于流式token事件,可能导致敏感LLM输出泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
langchain-ai langsmith-sdk < 0.5.19 -

II. Public POCs for CVE-2026-41182

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-41182

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-41182 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-41182

No comments yet


Leave a comment