{"id":"CVE-2026-27641","aliases":["GHSA-65mp-fq8v-56jr","PYSEC-2026-341"],"url":"https://o3.security/vulnerability/CVE-2026-27641","summary":"Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection","details":"Flask-Reuploaded provides file uploads for Flask. A critical path traversal and extension bypass vulnerability in versions prior to 1.5.0 allows remote attackers to achieve arbitrary file write and remote code execution through Server-Side Template Injection (SSTI). Flask-Reuploaded has been patched in version 1.5.0. Some workarounds are available. Do not pass user input to the `name` parameter, use auto-generated filenames only, and implement strict input validation if `name` must be used.","published":"2026-02-25T03:54:54.391Z","modified":"2026-08-07T11:31:00.039541851Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"flask-reuploaded","fixedVersion":"1.5.0"}],"fix":{"url":"https://github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288","label":"jugmac00/flask-reuploaded@d64c6b2"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27641.json"},{"type":"ADVISORY","url":"https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27641"},{"type":"FIX","url":"https://github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288"},{"type":"FIX","url":"https://github.com/jugmac00/flask-reuploaded/pull/180"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:00.039541851Z"}}