Critical severityNVD Advisory· Published Feb 25, 2026· Updated Feb 25, 2026
Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection
CVE-2026-27641
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
flask-reuploadedPyPI | < 1.5.0 | 1.5.0 |
Affected products
2- jugmac00/flask-reuploadedv5Range: < 1.5.0
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-65mp-fq8v-56jrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-27641ghsaADVISORY
- github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288ghsax_refsource_MISCWEB
- github.com/jugmac00/flask-reuploaded/pull/180ghsax_refsource_MISCWEB
- github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jrghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.