FICHE CVE

CVE-2026-41182

Publiée le 2026-04-23 · Dernière modification le 2026-10-26

🇫🇷 EN BREF

Les applications utilisant les SDK Python ou JavaScript de LangSmith (avant les versions 0.7.31 et 0.5.19, respectivement) peuvent accidentellement divulguer des données sensibles vers la plateforme LangSmith. Même si vous avez activé la suppression des données de sortie (redaction), les données brutes sont tout de même enregistrées lors de l'utilisation d'événements de streaming de jetons, permettant à toute personne ayant accès aux journaux de votre projet LangSmith de voir le contenu non modifié. Cela se produit automatiquement via le réseau, sans nécessiter de privilèges particuliers ni d'interaction de l'utilisateur.

CVSS 3.15.3 MOYENNE
Publiée2026-04-23
Dernière modification2026-10-26

DÉTAIL DU VECTEUR CVSS

Vecteur d'attaqueRéseau
Complexité d'attaqueFaible
Privilèges requisAucun
Interaction utilisateurAucune
PortéeInchangée
Impact sur la confidentialitéFaible
Impact sur l'intégritéAucun
Impact sur la disponibilitéAucun

RÉFÉRENCES

Description officielle du NVD (en anglais)

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.