CVE-2026-54567CWE-178CWE-434unrestricted-file-upload

CVE-2026-54567

High · published September 14, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
49.3
In the wild
Unconfirmed
What it is

Flask-Reuploaded provides file uploads for Flask. From 1.5.0 until 1.6.0, UploadSet.save(storage, name=...) in src/flask_uploads/flask_uploads.py applies lowercase_ext to the default upload path but uses the case-preserving extension helper for a caller-supplied name before extension_allowed evaluates an AllExcept denylist. An attacker who controls the name override can use a mixed-case dangerous extension to bypass a lowercase denylist and store the file in the served upload directory. Exploitation requires a denylist configuration, a user-influenced name override, and a deployment that resolves or executes extensions case-insensitively; pure allowlists remain protected and path containment is not bypassed. On an execution-capable upload directory, the stored file can execute with the web server's privileges and affect confidentiality, integrity, and availability. This issue is fixed in version 1.6.0.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00626 · 49.3th percentile
Weaknesses
CWE-178 · Improper Handling of Case Sensitivity; CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2026-09-14T22:17Z
References (4)
EPSS history
Timeline
  • 16 SEP 04:28Z
    EPSS moved — → 1%
    epss
  • 14 SEP 17:15Z
    Flask-Reuploaded: Extension-denylist bypass via case-folding asymmetry in name-override path (incomplete-fix variant of CVE-2026-27641)
    cvelistv5