Ad

CVE-2026-27641

CRITICAL CVSS 3.1: 9.8 EPSS 0.22%
Updated Feb 25, 2026
Flask
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 1.5.0
Fixed In 1.5.0
Type CWE-1336 (Template Injection)
Vendor Flask
Public PoC No

Flask-Reuploaded provides file uploads for Flask. A critical path traversal and extension bypass vulnerability in versions prior to 1.5.0 allows remote attackers to achieve arbitrary file write and remote code execution through Server-Side Template Injection (SSTI). Flask-Reuploaded has been patched in version 1.5.0.

Some workarounds are available. Do not pass user input to the `name` parameter, use auto-generated filenames only, and implement strict input validation if `name` must be used.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)