<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T22:17:01.265388+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-27641</id>
    <title>CVE-2026-27641 — Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection</title>
    <updated>2026-10-07T22:17:01.267174+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> jugmac00 flask-reuploaded</p>
<p>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.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-27641"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-65mp-fq8v-56jr</id>
    <title>GHSA-65mp-fq8v-56jr — Flask-Reuploaded vulnerable to Remote Code Execution via Server-Side Template Injection</title>
    <updated>2026-10-07T22:17:01.267281+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: flask-reuploaded</p>
<p>### Impact
A critical path traversal and extension bypass vulnerability in Flask-Reuploaded allows remote attackers to achieve arbitrary file write and remote code execution through Server-Side Template Injection (SSTI).</p>
<p>### Patches
Flask-Reuploaded has been patched in version 1.5.0</p>
<p>### Workarounds</p>
<p>1. **Do not pass user input to the `name` parameter**
2. Use auto-generated filenames only
3. Implement strict input validation if `name` must be used</p>
<p>```python
from werkzeug.utils import secure_filename
import os</p>
<p># Sanitize user input before passing to save()
safe_name = secure_filename(request.form.get('custom_name'))
# Remove path separators
safe_name = os.path.basename(safe_name)
# Validate extension matches policy
if not photos.extension_allowed(photos.get_extension(safe_name)):
    abort(400)
    
filename = photos.save(file, name=safe_name)
```</p>
<p>### Resources
The fix is documented in the pull request, see https://github.com/jugmac00/flask-reuploaded/pull/180.</p>
<p>A proper write-up was created by the reporter of the vulnerability, Jaron Cabral (https://www.linkedin.com/in/jaron-cabral-751994357/), but is not yet available as of time of this publication.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-65mp-fq8v-56jr"/>
  </entry>
</feed>
