Read the docs
TI-2026-22023 Aliases CVE-2026-27641GHSA-65mp-fq8v-56jr

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

Priority MEDIUM 52CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1336.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01337 71st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed flask-reuploaded (jugmac00): 1.5.0flask-reuploaded (PyPI): 1.5.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
jugmac00flask-reuploadedbefore 1.5.01.5.0Patch availableCNA
—flask-reuploaded (PyPI)before 1.5.01.5.0Patch availableGHSA-65mp-fq8v-56jr
  • flask-reuploaded Vendorjugmac00 Affected before 1.5.0 Fixed in 1.5.0 Patch available CNA
  • flask-reuploaded (PyPI) Vendor— Affected before 1.5.0 Fixed in 1.5.0 Patch available GHSA-65mp-fq8v-56jr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:jugmac00:flask-reuploaded:*:*:*:*:*:python:*:*before 1.5.0Vulnerablejugmac00
  • cpe:2.3:a:jugmac00:flask-reuploaded:*:*:*:*:*:python:*:* Versions before 1.5.0 Vulnerable ·jugmac00

Remediation

  • Fix · CNA flask-reuploaded (jugmac00) Fixed in 1.5.0
  • Fix · GHSA-65mp-fq8v-56jr flask-reuploaded (PyPI) Fixed in 1.5.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-27641
  2. 2026-10-03 Alias added: GHSA-65mp-fq8v-56jr

References

Sources