Skip to main content
VulnerabilityPublished Updated

CVE-2026-28414: gradio · Absolute Path Traversal

Affects gradioSource CVE Database V5

0
Compare

Not known to be exploited · public detection template (Nuclei) · CVSS 7.5 High : upgrade to 6.7 soon.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
3.0% chance of exploitation in 30 days – higher than 87% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Feb 2026

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade gradio to 6.7.

Affected software

ProductAffectedFixed in
gradio-appgradioAffected
  • <6.7
Fixed in
  • 6.7
PyPIgradiopkg:pypi/gradioOther threatsAffected
  • <6.7
Fixed in
  • 6.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

The most effective mitigation is to upgrade Gradio to version 6.7 or later, where the path traversal issue is fixed. Organizations should audit their environments to identify Gradio instances running on Windows with Python 3.13+ and update them promptly. If immediate upgrade is not feasible, as a temporary measure, restrict network access to Gradio applications to trusted users only, minimizing exposure to unauthenticated attackers. Additionally, implement strict file system permissions to limit the files accessible to the Gradio process. Monitoring and logging access to sensitive files can help detect exploitation attempts. Developers should review any custom path handling code for compatibility with Python 3.13 changes and avoid relying solely on os.path.isabs for security-critical path validation. Employing application-layer firewalls or reverse proxies to filter malicious requests may also reduce risk until patches are applied.

Description

Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.7, Gradio apps running on Window with Python 3.13+ are vulnerable to an absolute path traversal issue that enables unauthenticated attackers to read arbitrary files from the file system. Python 3.13+ changed the definition of `os.path.isabs` so that root-relative paths like `/windows/win.ini` on Windows are no longer considered absolute paths, resulting in a vulnerability in Gradio's logic for joining paths safely. This can be exploited by unauthenticated attackers to read arbitrary files from the Gradio server, even when Gradio is set up with authentication. Version 6.7 fixes the issue.

References

Community reviews

Loading reviews…