# CVE-2026-54567: Flask-Reuploaded: Extension-denylist bypass via case-folding asymmetry in name-override path (incomplete-fix variant of CVE-2026-27641)

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-17T20:11:35.000Z
- Modified: 2026-09-30T17:51:56.193Z
- Also known as: GHSA-937x-gpqr-72gg, PYSEC-2026-3466
- Weaknesses: CWE-178, CWE-434
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jugmac00 flask-reuploaded: < 1.6.0
- flask-reuploaded (PyPI): before 1.6.0

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-937x-gpqr-72gg> (exploit, web)
- <https://github.com/jugmac00/flask-reuploaded/pull/186>
- <https://github.com/jugmac00/flask-reuploaded/commit/5ded76092429c6eb8a4af941b14fbde40a38fff4> (web)
- <https://github.com/jugmac00/flask-reuploaded> (package)
- <https://pypi.org/project/flask-reuploaded> (package)
- <https://github.com/advisories/GHSA-937x-gpqr-72gg> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54567> (advisory)

## Sources

- CVE List: [CVE-2026-54567](https://www.cve.org/CVERecord?id=CVE-2026-54567), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-937x-gpqr-72gg](https://github.com/advisories/GHSA-937x-gpqr-72gg), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-54567](https://nvd.nist.gov/vuln/detail/CVE-2026-54567), Public domain, modified 2026-09-30
- PyPA Advisory Database: [PYSEC-2026-3466](https://osv.dev/vulnerability/PYSEC-2026-3466), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-54567 · Whole record: https://cve.day/CVE-2026-54567.json · Rebuilt by cve.day 2026-11-25T22:59:38.330Z
