{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-27641","id":"CVE-2026-27641","title":"Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection","description":"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, u","descriptionLong":"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","updated":"2026-10-28T02:30:27.658818873Z","reserved":"2026-02-20T22:02:30.029Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["jugmac00 flask-reuploaded"],"affectedProducts":[{"vendor":"jugmac00","product":"flask-reuploaded","defaultStatus":null,"versions":[{"version":"< 1.5.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"flask-reuploaded","purl":"pkg:pypi/flask-reuploaded","ranges":["<1.5.0"],"fixed":["1.5.0"],"advisory":"GHSA-65mp-fq8v-56jr"}],"cwes":["CWE-1336","CWE-22"],"aliases":["GHSA-65mp-fq8v-56jr","PYSEC-2026-341"],"references":[{"url":"https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jr","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/jugmac00/flask-reuploaded/pull/180","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/27xxx/CVE-2026-27641.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27641","tags":["advisory"]},{"url":"https://github.com/jugmac00/flask-reuploaded","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask-reuploaded/PYSEC-2026-341.yaml","tags":["web"]},{"url":"https://pypi.org/project/flask-reuploaded","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-65mp-fq8v-56jr","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total"},"epss":0.01337,"epssPercentile":0.71837,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-27641","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27641","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-27641","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-65mp-fq8v-56jr","ok":true,"note":"GHSA-65mp-fq8v-56jr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-27641","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["flask"],"critical":["CVSS 9.8 in a widely used technology"],"attention":null}