CVE Explorer
CVE-2026-27641
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"flask-reuploaded","vendor":"jugmac00","versions":[{"status":"affected","version":"< 1.5.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ac3b24bbe41a8c22473a1c6ff8a360e3e486e106fa7b34dd372e0953e1215b93 · sha256:e815cb631832f004… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ac3b24bbe41a8c22473a1c6ff8a360e3e486e106fa7b34dd372e0953e1215b93 · sha256:e815cb631832f004… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-1336","description":"CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ac3b24bbe41a8c22473a1c6ff8a360e3e486e106fa7b34dd372e0953e1215b93 · sha256:e815cb631832f004… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288","tags":["x_refsource_MISC"],"url":"https://github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac3b24bbe41a8c22473a1c6ff8a360e3e486e106fa7b34dd372e0953e1215b93 · sha256:e815cb631832f004… · /containers/cna/references/2
{"name":"https://github.com/jugmac00/flask-reuploaded/pull/180","tags":["x_refsource_MISC"],"url":"https://github.com/jugmac00/flask-reuploaded/pull/180"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac3b24bbe41a8c22473a1c6ff8a360e3e486e106fa7b34dd372e0953e1215b93 · sha256:e815cb631832f004… · /containers/cna/references/1
{"name":"https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ac3b24bbe41a8c22473a1c6ff8a360e3e486e106fa7b34dd372e0953e1215b93 · sha256:e815cb631832f004… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.