Loading advisory.
Loading advisory.
Gradio makes the `/file` secure against file traversal and server-side request forgery attacks
Older versions of gradio contained a vulnerability in the /file route which made them susceptible to file traversal attacks in which an attacker could access arbitrary files on a machine running a Gradio app with a public URL (e.g.
Published 2023-12-21 18:24 UTC · Modified 2026-09-10 03:49 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| gradio | PyPI | < 4.11.0 git commits in https://github.com/gradio-app/gradio: < 1b9d4234d6c25ef250d882c7b90e1f4039ed2d76 git commits in https://github.com/gradio-app/gradio: < 7ba8c5da45b004edd12c0460be9222f5b5f5f055 versions 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.4.1 and 486 more | 4.11.0, 1b9d4234d6c25ef250d882c7b90e1f4039ed2d76, 7ba8c5da45b004edd12c0460be9222f5b5f5f055 | pip install --upgrade 'gradio>=4.11.0'pip install --upgrade 'gradio>=1b9d4234d6c25ef250d882c7b90e1f4039ed2d76'pip install --upgrade 'gradio>=7ba8c5da45b004edd12c0460be9222f5b5f5f055' |
Older versions of gradio contained a vulnerability in the /file route which made them susceptible to file traversal attacks in which an attacker could access arbitrary files on a machine running a Gradio app with a public URL (e.g. if the demo was created with share=True, or on Hugging Face Spaces) if they knew the path of files to look for.
This was not possible through regular URLs passed into a browser, but it was possible through the use of programmatic tools such as curl with the --pass-as-is flag.
Furthermore, the /file route in Gradio apps also contained a vulnerability that made it possible to use it for SSRF attacks.
Both of these vulnerabilities have been fixed in gradio==4.11.0
Exploit code or a detection template for this CVE is published by the sources below. This is not a report of use against real systems (that is what CISA KEV records) and it does not change the tier.
EPSS went from 0.283 on 2026-11-24 to 0.031 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.283 | first score | v2026.06.15 |
| 2026-11-26 | 0.031 | 0.283 | v2026.06.15 |