Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Jugmac00 | Flask-Reuploaded | < 1.5.0 |
Related Weaknesses (CWE)
References
- https://github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3ePatch
- https://github.com/jugmac00/flask-reuploaded/pull/180Issue TrackingPatch
- https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-ExploitVendor Advisory
FAQ
What is CVE-2026-27641?
CVE-2026-27641 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 re...
How severe is CVE-2026-27641?
CVE-2026-27641 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-27641?
Check the references section above for vendor advisories and patch information. Affected products include: Jugmac00 Flask-Reuploaded.