Vulnerability DatabaseGHSA-h42x-xx2q-6v6g

GHSA-h42x-xx2q-6v6g
JavaScript vulnerability analysis and mitigation

Overview

A critical vulnerability (GHSA-h42x-xx2q-6v6g) was discovered in Flowise versions <= 2.2.4, allowing unauthorized attackers to leverage the whitelisted route /api/v1/attachments to upload arbitrary files when the storageType is set to local (default). The vulnerability was published and reviewed on March 13, 2025 (GitHub Advisory).

Technical details

The vulnerability stems from insufficient validation of chatflowId and chatId parameters in the /api/v1/attachments route. The route is whitelisted and bypasses authentication checks. When processing file uploads, the system joins these unvalidated parameters with the storage path, enabling path traversal attacks. The vulnerability has a CVSS v4 score of 9.3 (Critical) with metrics indicating Network attack vector, Low complexity, and No privileges required (GitHub Advisory).

Impact

The vulnerability's exploitation could lead to several severe consequences including Remote Code Execution, Server Takeover, and Data Theft. An attacker can manipulate the file storage path to overwrite critical system files, such as api.json which contains system API keys (GitHub Advisory).

Mitigation and workarounds

A fix has been implemented in commit c2b830f that includes additional validation for chatflowId and chatId parameters, ensuring they are valid UUIDs and checking for path traversal attempts. The patch also adds validation to verify that the chatflow exists before processing the file upload (Flowise Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react-server-dom-webpack
NoYesDec 03, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management