{"answers":{"affected":"3 open source packages ship an affected version, including flask-reuploaded and Flask-Reuploaded.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54567 exists.","fix":"Upgrade flask-reuploaded to 1.6.0 or later.","what":"CVE-2026-54567 is a high-severity vulnerability in jugmac00 flask-reuploaded, published on 14 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-54567 and fix it if it is affected.\n\nWhat it is: CVE-2026-54567 is a high-severity vulnerability in jugmac00 flask-reuploaded, published on 14 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54567 exists.\n\nAffected packages and fixed versions:\n- flask-reuploaded (PyPI): affected all versions; fixed in 1.6.0\n- flask-reuploaded (PyPI): affected all versions; fixed in 1.6.0\n- Flask-Reuploaded (PyPI): affected all versions; fixed in 1.6.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54567/ (Markdown: https://insights.sbomify.com/CVE-2026-54567/index.md)","id":"CVE-2026-54567","markdown":"https://insights.sbomify.com/CVE-2026-54567/index.md","name":"CVE-2026-54567","record":{"aliases":["GHSA-937x-gpqr-72gg","PYSEC-2026-3466"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read","data_modify","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Flask file upload library","requires_auth":"low_privilege","summary":"Attackers can bypass extension denylists via case-folding flaws to upload executable files, leading to remote code execution on affected Flask deployments.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"},{"id":"CWE-178","name":"Improper Handling of Case Sensitivity"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Flask-Reuploaded: Extension-denylist bypass via case-folding asymmetry in name-override path (incomplete-fix variant of CVE-2026-27641)","id":"CVE-2026-54567","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"file_upload","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Microsoft UFO: Missing Authorization in DEVICE_INFO_REQUEST Allows a DEVICE Client to Read Another Device's system_info","id":"CVE-2026-54568"},"packages":[{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"Flask-Reuploaded","purl":null,"source":"GHSA-937x-gpqr-72gg"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"flask-reuploaded","purl":"pkg:pypi/flask-reuploaded","source":"GHSA-937x-gpqr-72gg"},{"ecosystem":"PyPI","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"flask-reuploaded","purl":"pkg:pypi/flask-reuploaded","source":"PYSEC-2026-3466"}],"prev":{"headline":"Code injection in vscode-markdown-preview-enhanced","id":"CVE-2026-54566"},"products":["flask-reuploaded"],"published":"2026-09-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-16","vendors":["jugmac00"]},"summary":"Attackers can bypass extension denylists via case-folding flaws to upload executable files, leading to remote code execution on affected Flask deployments.","url":"https://insights.sbomify.com/CVE-2026-54567/"}