Absolute Path Traversal Vulnerability in Gradio by Gradio App
CVE-2026-28414
What is CVE-2026-28414?
CVE-2026-28414 is a significant vulnerability in Gradio, an open-source Python package that facilitates rapid prototyping of user interfaces for machine learning models and applications. This specific vulnerability arises from an absolute path traversal issue present in versions prior to 6.7, specifically affecting installations on Windows with Python 3.13 and above. The flaw is rooted in the altered behavior of the os.path.isabs function in Python 3.13+, which now inaccurately treats root-relative paths as non-absolute. Consequently, this leads to a scenario where unauthenticated attackers can exploit Gradio's file-handling logic to read arbitrary files from the server’s file system, regardless of authentication settings. Such a capability could expose sensitive information, configuration files, or other critical data to malicious actors, thereby significantly compromising the security posture of an organization utilizing Gradio.
Potential impact of CVE-2026-28414
-
Unauthorized Data Access: The vulnerability allows attackers to access files on the server without any authentication. This could lead to the exposure of sensitive data, configuration files, or critical information stored on the server, creating a substantial risk of data breaches.
-
Compromise of Application Integrity: By leveraging this vulnerability, attackers could obtain files that may include application secrets or credentials, potentially enabling further attacks on the system or the underlying infrastructure. Such compromises can lead to escalated privileges and unauthorized manipulation of other components within the application ecosystem.
-
Threat to Overall System Security: The ability for attackers to read arbitrary files poses a broader threat to the integrity and confidentiality of the system. If sensitive files containing private keys or sensitive application data are accessed, it could lead to a complete compromise of the application and its data, risking not just the immediate system but also connected services and networks.
Affected Version(s)
gradio < 6.7
