A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /jugmac00/flask-reuploaded/commit/5ded76092429c6eb8a4af941b…
- github.com /jugmac00/flask-reuploaded/pull/186
- github.com /jugmac00/flask-reuploaded/security/advisories/GHSA-937x-gp…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning