ADVISORIES

Vulnerability

CVE-2026-27641

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.

2 advisories report this vulnerability, across 1 ecosystem.

Critical severity PyPI 2

Advisories in PyPI

  • GHSA-65mp-fq8v-56jr

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

    Critical CVE-2026-27641 PyPI Updated 27 October 2026
  • PYSEC-2026-341

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

    CVE-2026-27641 PyPI Updated 1 July 2026

References