CVE-2026-27641
Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection
CRITICAL 9.8EPSS 1.3%
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.
- Affected
- jugmac00 · flask-reuploaded
- CVSS v3.1 GITHUB
- 9.8 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.27% chance of exploitation in the next 30 days, 69th percentile
- Published
- 2026-02-25
Proof-of-concept exploits (1)
- Max78000/CVE-2026-27641-Flask-Reuploaded0★ · 2026-07-23
Security advisories
- jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jr
- advisories/GHSA-65mp-fq8v-56jr
- jugmac00/flask-reuploaded/pull/180