cve.bz

CVE-2026-41182 langchain-ai langsmith-sdk

5.3 mediumEPSS 0.2%Fix available

Medium (5.3) in langchain-ai langsmith-sdk. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in langsmith 0.5.19, 0.7.31.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
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
OWASP Top 10
A01:2025 Broken Access Control, A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-41182 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-41182?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-41182?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-41182 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
langchain-ai langsmith-sdk< 0.5.19
langchain-ai langsmith-sdk< 0.7.31

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rr7j-v2q5-chgvnpmlangsmith<0.5.190.5.19
GHSA-rr7j-v2q5-chgvPyPIlangsmith<0.7.310.7.31
PYSEC-2026-2583PyPIlangsmith<0.7.310.7.31

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedpython-langsmith0.10.3-1.1openSUSE-SU-2026:11284-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low
  • CAPEC-464 Evercookie Severity: Medium
  • CAPEC-467 Cross Site Identification Severity: Low
  • CAPEC-498 Probe iOS Screenshots
  • CAPEC-508 Shoulder Surfing Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON