CVE-2026-28414
Absolute Path Traversal in Gradio Allows Arbitrary File Read
Publication date: 2026-02-27
Last updated on: 2026-03-05
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gradio_project | gradio | to 6.7.0 (exc) |
Helpful Resources
Exploitability
| 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.