CVE-2026-41182langchain-ai langsmith-sdk
Medium 5.3 No auth needed
Follow: this CVE · langchain-ai · langchain-ai langsmith-sdk We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Apr 23, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for langsmith-sdk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | langsmith |
< 0.7.31 |
0.7.31 |
pip install "langsmith>=0.7.31" |
| PyPI | langsmith |
< 0.7.31 |
0.7.31 |
pip install "langsmith>=0.7.31" |
| npm | langsmith |
< 0.5.19 |
0.5.19 |
npm install langsmith@0.5.19 |
Per OSV / GitHub Advisories (GHSA-rr7j-v2q5-chgv, PYSEC-2026-2583). Check the version in your lockfile before upgrading.
Affected products
- langchain-ai · langsmith-sdk
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-langsmith-0.10.3-1.1 on GA media · SUSE · openSUSE-SU-2026:11284-1 · Jul 15, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.