Skip to main content
← All vulnerabilities
CVE-2026-27641GHSA-65MP-FQ8V-56JRPYSEC-2026-341

Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.5.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • jugmac00 flask-reuploaded

    fixed in 1.5.0

  • flask-reuploadedPyPI

    fixed in 1.5.0

References 4

GitHub · jugmac00/flask-reuploaded

GitHub · Max78000/CVE-2026-27641-Flask-Reuploaded