CVE-2026-28414
Received Received - Intake
Absolute Path Traversal in Gradio Allows Arbitrary File Read

Publication date: 2026-02-27

Last updated on: 2026-03-05

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-27
Last Modified
2026-03-05
Generated
2026-05-07
AI Q&A
2026-02-28
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
gradio_project gradio to 6.7.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CWE-36 The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as "/abs/path" that can resolve to a location that is outside of that directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability affects Gradio, an open-source Python package used for quick prototyping. Before version 6.7, Gradio apps running on Windows with Python 3.13 or later are vulnerable to an absolute path traversal issue. This happens because Python 3.13 changed how it defines absolute paths, causing Gradio's logic for safely joining paths to fail. As a result, unauthenticated attackers can exploit this flaw to read arbitrary files from the file system on the Gradio server.


How can this vulnerability impact me? :

The vulnerability allows unauthenticated attackers to read arbitrary files on the server running the Gradio app. This means sensitive or confidential information stored on the server could be exposed without any authentication. Even if Gradio is configured with authentication, this flaw bypasses those protections, potentially leading to data leaks and unauthorized information disclosure.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, you should upgrade Gradio to version 6.7 or later, as this version fixes the absolute path traversal issue.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart