<?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-07T15:23:26.709729+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-2025-48889</id>
    <title>CVE-2025-48889 — Gradio Allows Unauthorized File Copy via Path Manipulation</title>
    <updated>2026-10-07T15:23:26.711487+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> gradio-app gradio</p>
<p>Gradio is an open-source Python package that allows quick building of demos and web application for machine learning models, API, or any arbitrary Python function. Prior to version 5.31.0, an arbitrary file copy vulnerability in Gradio's flagging feature allows unauthenticated attackers to copy any readable file from the server's filesystem. While attackers can't read these copied files, they can cause DoS by copying large files (like /dev/urandom) to fill disk space. This issue has been patched in version 5.31.0.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2025-48889"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-8jw3-6x8j-v96g</id>
    <title>GHSA-8jw3-6x8j-v96g — Gradio Allows Unauthorized File Copy via Path Manipulation</title>
    <updated>2026-10-07T15:23:26.711553+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: gradio</p>
<p>An arbitrary file copy vulnerability in Gradio's flagging feature allows unauthenticated attackers to copy any readable file from the server's filesystem. While attackers can't read these copied files, they can cause DoS by copying large files (like /dev/urandom) to fill disk space.</p>
<p>### Description
The flagging component doesn't properly validate file paths before copying files. Attackers can send specially crafted requests to the `/gradio_api/run/predict` endpoint to trigger these file copies.</p>
<p>**Source**: User-controlled `path` parameter in the flagging functionality JSON payload  
**Sink**: `shutil.copy` operation in `FileData._copy_to_dir()` method</p>
<p>The vulnerable code flow:
1. A JSON payload is sent to the `/gradio_api/run/predict` endpoint
2. The `path` field within `FileData` object can reference any file on the system
3. When processing this request, the `Component.flag()` method creates a `GradioDataModel` object
4. The `FileData._copy_to_dir()` method uses this path without proper validation:</p>
<p>```python
def _copy_to_dir(self, dir: str) -&gt; FileData:
    pathlib.Path(dir).mkdir(exist_ok=True)
    new_obj = dict(self)</p>
<p>if not self.path:
        raise ValueError("Source file path is not set")
    new_name = shutil.copy(self.path, dir)  # vulnerable sink
    new_obj["path"] = new_name
    return self.__class__(**new_obj)
```
5. The lack of validation allows copying any file the Gradio process can read</p>
<p>### PoC
The following script demonstrates the vulnerability by…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-8jw3-6x8j-v96g"/>
  </entry>
</feed>
