CVE-2026-27641
Flask-Reuploaded provides file uploads for Flask. A critical path …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288
- github.com/jugmac00/flask-reuploaded/pull/180
- github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jr
- nvd.nist.gov/vuln/detail/CVE-2026-27641
- github.com/advisories/GHSA-65mp-fq8v-56jr
- github.com/pypa/advisory-database/tree/main/vulns/flask-reuploaded/PYSEC-2026-341.yaml
- pypi.org/project/flask-reuploaded
- nvd.nist.gov/vuln/detail/CVE-2026-27641
- cve.org/CVERecord?id=CVE-2026-27641
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.