Vulnérabilité dans flowise (CVE-2026-42861)
Résumé
Vulnérabilité dans flowise (CVE-2026-42861). Des informations confidentielles peuvent être exposées. Exploitable via PUT /api/v1/variables/{variableId}. Atténuation : mise à jour vers 3.1.2 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
A Mass Assignment vulnerability exists in the variable update endpoint of FlowiseAI.
The endpoint allows authenticated users to modify server-controlled properties such as workspaceId, createdDate, and updatedDate when updating a variable resource.
Due to missing server-side validation and authorization checks, an attacker can manipulate the workspaceId field and reassign variables to arbitrary workspaces.
This behavior may break tenant isolation in multi-workspace environments.
Details
The endpoint responsible for updating variables:
PUT /api/v1/variables/{variableId}
accepts a JSON request body containing the variable definition.
However, the backend does not restrict which attributes can be modified by the client. As a result, user-controlled request bodies can include internal properties that should normally be controlled exclusively by the server.
Server-controlled fields that can be manipulated include:
- workspaceId
- createdDate
- updatedDate
These fields appear to be directly mapped to the database entity without strict input validation or authorization checks.
For example, the following request body was accepted by the server:
{
"name": "aaa",
"value": "bbbe",
"type": "static",
"createdDate": "2016-03-06T17:59:30.000Z",
"updatedDate": "2016-03-06T18:00:17.000Z",
"workspaceId": "11111111-2222-3333-4444-555555555555"
}
The server accepted the attacker-controlled workspaceId and metadata fields and persisted them…
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-42861 a été découverte dans flowise.
Des attaquants peuvent cibler un point d'entrée spécifique comme PUT /api/v1/variables/{variableId} à distance pour détourner le produit.
Des informations confidentielles peuvent être exposées. Score CVSS : 9.6/10.
Action : mettez à jour flowise vers 3.1.2 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « flowise CVE-2026-42861 » sur le site de l'éditeur.
CVE-2026-42861 (flowise) — CWE-284 / CVSS v3 9.6
Vecteur d'attaque : distant (réseau) / sans interaction utilisateur
Surface d'attaque : PUT /api/v1/variables/{variableId} / PUT /api/v1/variables/
Correctif : 3.1.2 — 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.
Une vulnérabilité (CWE-284) affecte flowise. Les attaquants atteignent le code vulnérable via PUT /api/v1/variables/{variableId}.
Consultez l'avis de l'éditeur pour les versions affectées de flowise. Surface d'attaque : PUT /api/v1/variables/{variableId} / PUT /api/v1/variables/.
Gravité : Critique (CVSS 9.6/10). Des informations confidentielles peuvent être exposées.
Mettre à jour vers 3.1.2.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs webserver/proxy/WAF des requêtes anormales vers PUT /api/v1/variables/{variableId} (en-têtes d'auth malformés, méta-caractères SQL). Auditez les fichiers de dépendances pour trouver flowise.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
grep -r 'flowise' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
flowiseを grep し、稼働しているサービス・バージョンを把握する。 -
2Hunt for indicators of compromise detect
grep 'PUT /api/v1/variables/{variableId}' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'アクセスログで
PUT /api/v1/variables/{variableId}への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。 -
3Apply patch patch
Upgrade flowise to 3.1.2ステージング環境で 3.1.2 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 2 で見つけた異常検知の続報チェックを含めること。
-
4Post-deployment verification verify
Replay attack against PUT /api/v1/variables/{variableId} on staging to confirm patch closes the vectorパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory nvd.nist.gov
- exploit security-advisories@github.com
- package github.com
- web security-advisories@github.com
- web github.com