Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. langsmith
  4. ›
  5. GHSA-rr7j-v2q5-chgv

GHSA-rr7j-v2q5-chgv: LangSmith SDK: Streaming token events bypass output redaction

April 16, 2026

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.

References

  • github.com/advisories/GHSA-rr7j-v2q5-chgv
  • github.com/langchain-ai/langsmith-sdk
  • github.com/langchain-ai/langsmith-sdk/security/advisories/GHSA-rr7j-v2q5-chgv

Code Behaviors & Features

Detect and mitigate GHSA-rr7j-v2q5-chgv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.7.31

Fixed versions

  • 0.7.31

Solution

Upgrade to version 0.7.31 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • 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

Source file

pypi/langsmith/GHSA-rr7j-v2q5-chgv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:43 +0000.