CVE-2026-27641

Critical

Description

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductJugmac00 Flask-reuploaded
PublishedFeb 25, 2026
First seenFeb 25, 2026
Weakness typeCWE-1336CWE-1336

How to fix

Update
  • jugmac00 flask-reuploaded1.5.0 or later
  • flask-reuploaded1.5.0 or later

Affected products

ProductAffected versionsFixed in
jugmac00 flask-reuploadedv < 1.5.01.5.0
flask-reuploadedPyPIv < 1.5.01.5.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.