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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.013, 71.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Jugmac00 Flask-Reuploaded — versions < 1.5.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- Max78000/CVE-2026-27641-Flask-Reuploaded (last pushed 2026-07-23): PoC and test server
References
- https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jr (Exploit, Vendor Advisory)
- https://github.com/jugmac00/flask-reuploaded/pull/180 (Patch, Issue Tracking)
- https://github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288 (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.