{"cve":"CVE-2026-27641","nvd":{"published":"2026-02-25T04:16:04.620","modified":"2026-06-17T10:27:26.560","status":"Analyzed","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, use auto-generated filenames only, and implement strict input validation if `name` must be used.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-22","CWE-1336"],"references":["https://github.com/jugmac00/flask-reuploaded/commit/d64c6b2f71cb73734fc38baa0e3e156926361288","https://github.com/jugmac00/flask-reuploaded/pull/180","https://github.com/jugmac00/flask-reuploaded/security/advisories/GHSA-65mp-fq8v-56jr"],"products":["jugmac00:flask-reuploaded"],"source":"nvd","synced_at":"2026-10-19T22:24:17.937441719+00:00"},"epss":{"cve":"CVE-2026-27641","score":0.01337,"percentile":0.71226,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-65mp-fq8v-56jr","url":"https://osv.dev/vulnerability/GHSA-65mp-fq8v-56jr","summary":"Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection","modified":"2026-10-27T17:00:03.992051129Z","packages":[{"ecosystem":"PyPI","name":"flask-reuploaded","purl":"pkg:pypi/flask-reuploaded","ranges":["<1.5.0"],"fixed":["1.5.0"]}]},{"id":"PYSEC-2026-341","url":"https://osv.dev/vulnerability/PYSEC-2026-341","summary":"Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection","modified":"2026-07-01T20:22:53.047171Z","packages":[{"ecosystem":"PyPI","name":"flask-reuploaded","purl":"pkg:pypi/flask-reuploaded","ranges":["<1.5.0"],"fixed":["1.5.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}