kcve.ai취약점 정보 · 내 자산 확인

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

설명

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.

영향 받는 제품 제품 1개

  • langchain-ai

    langsmith-sdk

    해결 버전 있음

    영향 받는 버전

    • 0.5.19 미만
    • 0.7.31 미만

    해결 버전

    • 0.5.19 이상
    • 0.7.31 이상

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의