Path Traversal in Jugmac00 Flask-Reuploaded

CVE-2026-27641

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.

EPSS: 0.010 (60.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-27641?
CVE-2026-27641 is a critical-severity vulnerability in Jugmac00 Flask-Reuploaded, classified under Improper Neutralization of Special Elements Used in a Template Engine. CVSS score: 9.8/10. Published 2026-02-25.
How severe is CVE-2026-27641?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2026-27641 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.