CVE-2026-27641

CRITICAL

Flask-Reuploaded <1.5.0 - Path Traversal

Title source: llm

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.

Scores

CVSS v3 9.8
EPSS 0.0013
EPSS Percentile 32.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-22 CWE-1336
Status published

Affected Products (2)

pypi/flask-reuploaded < 1.5.0PyPI
jugmac00/flask-reuploaded < 1.5.0

Timeline

Published Feb 25, 2026
Tracked Since Feb 25, 2026