CVE-2026-27641

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

Published Feb 25, 2026 CVSS 3.1 · 9.8 Critical EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-65mp-fq8v-56jr Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection
History
Type Values Removed Values Added
Weaknesses CWE-22
CPEs cpe:2.3:a:jugmac00:flask-reuploaded:*:*:*:*:*:python:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jugmac00
Jugmac00 flask-reuploaded
Vendors & Products Jugmac00
Jugmac00 flask-reuploaded
Type Values Removed Values Added
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.
Title Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection
Weaknesses CWE-1336
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 25, 2026, 9:12 PM
Reserved
Feb 20, 2026, 10:02 PM
Status
Analyzed
Published
Feb 25, 2026, 4:16 AM
Modified
Jun 17, 2026, 10:27 AM