← Retour
CVE-2026-33873
Injection de code dans langflow (CVE-2026-33873)
Résumé
injection de code dans langflow (CVE-2026-33873). L'exploitation peut entraîner la prise de contrôle totale du système. Exploitable via ``input_value``. Atténuation : mise à jour vers `1.9.0` ou plus.
Résumé IA snake-internal / snake-material-v2
Une vulnérabilité référencée **CVE-2026-33873** a été découverte dans langflow.
Des attaquants peuvent cibler un point d'entrée spécifique comme ``input_value`` à distance pour détourner le produit.
L'exploitation peut entraîner la prise de contrôle totale du système. Score CVSS : ?/10.
Action : mettez à jour langflow vers **1.9.0** ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « langflow CVE-2026-33873 » sur le site de l'éditeur.
CVE-2026-33873 (langflow) — CWE-94 /
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : `input_value` / `flow_id` / `provider` / `model_name`
Correctif : `1.9.0` — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
❓ Quel est le problème
Une **exécution de code arbitraire** (CWE-94) affecte langflow. Les attaquants atteignent le code vulnérable via ``input_value`` sans authentification.
📍 Périmètre concerné
langflow — . Surface d'attaque : `input_value` / `flow_id` / `provider` / `model_name`.
🔥 Gravité
Gravité : ?. L'exploitation peut entraîner la prise de contrôle totale du système
🔧 Comment corriger
Mettre à jour vers **1.9.0**.
🛡️ Contournement
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
🔍 Détection
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse (7 étapes)
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'langflow' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `langflow` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade langflow to 1.9.0ステージング環境で 1.9.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
PyPI
langflow
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0"}]}]
pip
langflow
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.0"}]}]
Références
- advisory https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33873.json
- advisory https://nvd.nist.gov/vuln/detail/CVE-2026-33873
- package https://github.com/langflow-ai/langflow
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/agentic/api/router.py#L252-L297
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/agentic/api/schemas.py#L20-L31
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/agentic/helpers/code_extraction.py#L11-L53
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/agentic/helpers/validation.py#L27-L47
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/agentic/services/assistant_service.py#L142-L156
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/agentic/services/assistant_service.py#L259-L300
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/agentic/services/assistant_service.py#L58-L79
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/api/utils/core.py#L38
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/api/v1/login.py#L96-L135
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/services/auth/utils.py#L156-L163
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/backend/base/langflow/services/auth/utils.py#L39-L53
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/lfx/src/lfx/custom/validate.py#L241-L272
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/lfx/src/lfx/custom/validate.py#L394-L399
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/lfx/src/lfx/custom/validate.py#L441-L443
- web https://github.com/langflow-ai/langflow/blob/f7f4d1e70ba5eecd18162ec96f3571c2cfbcd1fc/src/lfx/src/lfx/services/settings/auth.py#L71-L87
- web https://github.com/langflow-ai/langflow/security/advisories/GHSA-v8hw-mh8c-jxfc
- web https://github.com/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-82.yaml
- web https://github.com/advisories/GHSA-v8hw-mh8c-jxfc