Read the docs
TI-2026-39402 Aliases CVE-2026-54567GHSA-937x-gpqr-72gg

Unrestricted file upload in jugmac00 flask-reuploaded

Priority HIGH 68CWE-178Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
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-434.

Summary

Flask-Reuploaded provides file uploads for Flask. From 1.5.0 until 1.6.0, UploadSet.save(storage, name=...) in src/flask_uploads/flask_uploads.py applies lowercase_ext to the default upload path but uses the case-preserving extension helper for a caller-supplied name before extension_allowed evaluates an AllExcept denylist. An attacker who controls the name override can use a mixed-case dangerous extension to bypass a lowercase denylist and store the file in the served upload directory. Exploitation requires a denylist configuration, a user-influenced name override, and a deployment that resolves or executes extensions case-insensitively; pure allowlists remain protected and path containment is not bypassed. On an execution-capable upload directory, the stored file can execute with the web server's privileges and affect confidentiality, integrity, and availability. This issue is fixed in version 1.6.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00626 50th percentileScored 2026-11-07
Fix Fixed flask-reuploaded (jugmac00): 1.6.0Flask-Reuploaded (PyPI): 1.6.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
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.6.01.6.0Patch availableCNA
—Flask-Reuploaded (PyPI)before 1.6.01.6.0Patch availableGHSA-937x-gpqr-72gg
  • flask-reuploaded Vendorjugmac00 Affected before 1.6.0 Fixed in 1.6.0 Patch available CNA
  • Flask-Reuploaded (PyPI) Vendor— Affected before 1.6.0 Fixed in 1.6.0 Patch available GHSA-937x-gpqr-72gg

Remediation

  • Fix · CNA flask-reuploaded (jugmac00) Fixed in 1.6.0
  • Fix · GHSA-937x-gpqr-72gg Flask-Reuploaded (PyPI) Fixed in 1.6.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54567
  2. 2026-10-03 Alias added: GHSA-937x-gpqr-72gg
  3. 2026-10-31 EPSS moved to the 50th–90th percentile

References

  • TI-2026-22023 Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection CVSS 3.1CRITICAL 9.8

Sources