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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.63% (percentile 44, 2026-11-26)
- **CWE:** CWE-178, CWE-434
- **Aliases:** GHSA-937x-gpqr-72gg, PYSEC-2026-3466
- **Published:** 2026-07-17T20:11:35.000Z
- **Modified:** 2026-09-30T17:51:56.193Z

## Who should check

- Projects that depend on PyPI package flask-reuploaded (\< 1.6.0)
- Anyone running jugmac00 flask-reuploaded \< 1.6.0

## 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 and fixed versions

- PyPI `flask-reuploaded`: affected \< 1.6.0; fixed 1.6.0 (osv)
- jugmac00 flask-reuploaded: \< 1.6.0 (cvelist)

## Mitigation

- Upgrade flask-reuploaded to 1.6.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-54567. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54567.md
Affected: flask-reuploaded < 1.6.0
Fixed in: 1.6.0

Steps:
1. Search this machine and project for flask-reuploaded (PyPI), jugmac00 flask-reuploaded: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-54567 being exploited?

There is no confirmed exploitation: CVE-2026-54567 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.63% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-54567?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-54567?

flask-reuploaded \< 1.6.0.

### Is there a fix for CVE-2026-54567?

Yes. Fixed in 1.6.0. Upgrade flask-reuploaded to 1.6.0 or later.

### How do I check if I'm affected by CVE-2026-54567?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-937x-gpqr-72gg>
- vendor: <https://github.com/advisories/GHSA-937x-gpqr-72gg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-54567>
- patch: <https://github.com/jugmac00/flask-reuploaded/pull/186>
- patch: <https://github.com/jugmac00/flask-reuploaded/commit/5ded76092429c6eb8a4af941b14fbde40a38fff4>
- other: <https://github.com/jugmac00/flask-reuploaded>
- other: <https://pypi.org/project/flask-reuploaded>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-54567>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-937x-gpqr-72gg> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-3466> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-54567> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-54567>
