Path Traversal and Extension Bypass Vulnerability in Flask-Reuploaded by Flask
CVE-2026-27641

9.8CRITICAL

Key Information:

Vendor

Jugmac00

Vendor
CVE Published:
25 February 2026

What is CVE-2026-27641?

Flask-Reuploaded, a popular tool for handling file uploads in Flask applications, has a vulnerability that allows remote attackers to exploit arbitrary file writing and execute remote code. This issue arises from a path traversal and extension bypass flaw present in versions before 1.5.0. By leveraging Server-Side Template Injection (SSTI), attackers can manipulate the file upload functionality. Users are encouraged to upgrade to version 1.5.0 or later to mitigate this risk. For those unable to upgrade immediately, it's advisable to avoid passing user inputs directly to the 'name' parameter, use automatically generated filenames and enforce strict input validation.

Affected Version(s)

flask-reuploaded < 1.5.0

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.