PyPI (Python)Worst: Critical54 advisories

gradio: known vulnerabilities

gradio has 54 reviewed security advisories in the GitHub Advisory Database — 5 critical, 22 high, 22 moderate, 5 low. The most recent was published 2026-07-01. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the gradio versions running across your servers, containers and images, and ranks what to patch first.

How to fix gradio

Upgrade gradio to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade gradio (pin gradio>=6.16.0)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (54)

Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks High 7.5 CWE-22 — Affected: before 6.16.0. Fixed in 6.16.0. Published 2026-07-01. GHSA-j36p-7w88-g82j · CVE-2026-49119
Gradio: Audio cache key ignores metadata when saving numpy audio outputs Low 2.5 CWE-327 — Affected: before 6.15.1. Fixed in 6.15.1. Published 2026-06-04. GHSA-6655-8ph2-63j3 · CVE-2026-10783
Gradio contains a cookie injection vulnerability High 6.8 CWE-384 — Affected: before 6.15.0. Fixed in 6.15.0. Published 2026-05-27. GHSA-7hp7-4p35-3cx2 · CVE-2026-48545
Gradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+ High 7.5 CWE-22 CWE-36 — Affected: before 6.7.0. Fixed in 6.7.0. Published 2026-02-27. GHSA-39mp-8hj3-5c49 · CVE-2026-28414
Gradio: Mocked OAuth Login Exposes Server Credentials and Uses Hardcoded Session Secret Low 0.0 CWE-522 CWE-798 — Affected: from 4.16.0 up to 6.6.0. Fixed in 6.6.0. Published 2026-02-27. GHSA-h3h8-3v2v-rg7m · CVE-2026-27167
Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing High 8.2 CWE-918 — Affected: before 6.6.0. Fixed in 6.6.0. Published 2026-02-27. GHSA-jmh7-g254-2cq9 · CVE-2026-28416
Gradio has an Open Redirect in its OAuth Flow Moderate 4.3 CWE-200 CWE-284 CWE-330 CWE-601 — Affected: before 6.6.0. Fixed in 6.6.0. Published 2026-02-27. GHSA-pfjf-5gxr-995x · CVE-2026-28415
Gradio Allows Unauthorized File Copy via Path Manipulation Moderate 5.3 CWE-434 — Affected: before 5.31.0. Fixed in 5.31.0. Published 2025-05-30. GHSA-8jw3-6x8j-v96g · CVE-2025-48889
Gradio CORS Origin Validation Bypass Vulnerability Low 3.7 CWE-345 — Affected: 5.0.0 through 5.29.1. No fixed release is listed. Published 2025-05-29. GHSA-wmjh-cpqj-4v6x · CVE-2025-5320
Gradio DOS in multipart boundry while uploading the file High 7.5 CWE-400 CWE-770 — Affected: up to and including 5.22.0. No fixed release is listed. Published 2025-03-20. GHSA-5cpq-9538-jm2j · CVE-2024-8966
Gradio Vulnerable to Open Redirect Moderate 5.4 CWE-601 — Affected: up to and including 4.37.2. No fixed release is listed. Published 2025-03-20. GHSA-7v2w-h4gh-w5cv · CVE-2024-8021
Gradio Vulnerable to Denial of Service (DoS) via Crafted Zip Bomb High 7.5 CWE-475 — Affected: 4.0.0 through 5.0.0b2. No fixed release is listed. Published 2025-03-20. GHSA-7xmc-vhjp-qv5q · CVE-2024-10569
Gradio Vulnerable to Arbitrary File Deletion High 8.2 CWE-29 — Affected: 4.0.0 through 5.0.0b2. No fixed release is listed. Published 2025-03-20. GHSA-pgfv-gvc5-prfg · CVE-2024-10648
Gradio Path Traversal vulnerability Moderate 5.3 CWE-22 CWE-41 — Affected: up to and including 5.0.1. No fixed release is listed. Published 2025-03-20. GHSA-prpg-p95c-32fv · CVE-2024-12217
Gradio Vulnerable to Denial of Service (DoS) via Crafted HTTP Request High 7.5 CWE-1333 CWE-400 — Affected: 4.38.0 through 5.0.0-beta.2. No fixed release is listed. Published 2025-03-20. GHSA-rvgh-pr46-x7gg · CVE-2024-10624
Gradio Blocked Path ACL Bypass Vulnerability Critical CWE-178 CWE-285 — Affected: before 5.11.0. Fixed in 5.11.0. Published 2025-01-14. GHSA-j2jg-fq62-7c3h · CVE-2025-23042
Gradio vulnerable to arbitrary file read with File and UploadButton components Moderate 0.0 CWE-200 CWE-22 — Affected: from 5.0.0 up to 5.5.0. Fixed in 5.5.0. Published 2024-11-06. GHSA-rhm9-gp5p-5248 · CVE-2024-51751
gradio Server Side Request Forgery vulnerability Moderate 6.5 CWE-918 — Affected: up to and including 4.42.0. No fixed release is listed. Published 2024-11-04. GHSA-3gf9-wv65-gwh9 · CVE-2024-48052
Gradio's dropdown component pre-process step does not limit the values to those in the dropdown list Low 5.3 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-26jh-r8g2-6fpr
Gradio uses insecure communication between the FRP client and server High 8.1 CWE-311 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-279j-x4gx-hfrh · CVE-2024-47871
Gradio has a one-level read path traversal in `/custom_component` Moderate 5.3 CWE-22 — Affected: before 4.44.0. Fixed in 4.44.0. Published 2024-10-10. GHSA-37qc-qgx6-9xjv · CVE-2024-47166
Gradios's CORS origin validation is not performed when the request has a cookie High 8.8 CWE-285 CWE-346 — Affected: before 4.44.0. Fixed in 4.44.0. Published 2024-10-10. GHSA-3c67-5hwx-f6wx · CVE-2024-47084
Gradio has several components with post-process steps allow arbitrary file leaks Moderate 5.3 CWE-200 CWE-22 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-4q3c-cj7g-jcwf · CVE-2024-47868
Gradio vulnerable to SSRF in the path parameter of /queue/join Moderate 7.2 CWE-918 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-576c-3j53-r9jj · CVE-2024-47167
Gradio's `is_in_or_equal` function may be bypassed Moderate 6.5 CWE-22 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-77xq-6g77-h274 · CVE-2024-47164
Gradio's CORS origin validation accepts the null origin Moderate 5.4 CWE-285 CWE-346 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-89v2-pqfv-c5r9 · CVE-2024-47165
Gradio lacks integrity checking on the downloaded FRP client High 7.5 CWE-345 CWE-494 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-8c87-gvhj-xm8m · CVE-2024-47867
Gradio has an XSS on every Gradio server via upload of HTML files, JS files, or SVG files Moderate 5.4 CWE-79 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-gvv6-33j7-884g · CVE-2024-47872
In Gradio, the `enable_monitoring` flag set to `False` does not disable monitoring Low 4.3 CWE-670 — Affected: before 4.44.0. Fixed in 4.44.0. Published 2024-10-10. GHSA-hm3c-93pg-4cxw · CVE-2024-47168
Gradio performs a non-constant-time comparison when comparing hashes Moderate 3.7 CWE-203 CWE-208 — Affected: before 4.44.0. Fixed in 4.44.0. Published 2024-10-10. GHSA-j757-pf57-f8r4 · CVE-2024-47869
Gradio has a race condition in update_root_in_config may redirect user traffic High 7.0 CWE-362 — Affected: before 5.0.0. Fixed in 5.0.0. Published 2024-10-10. GHSA-xh2x-3mrm-fwqm · CVE-2024-47870
Gradio allows users to access arbitrary files Critical 8.1 CWE-22 — Affected: before 4.19.2. Fixed in 4.19.2. Published 2024-09-25. GHSA-m842-4qm8-7gpq · CVE-2024-1728
Withdrawn Advisory: Gradio was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py Critical 9.8 CWE-94 — Affected versions listed in the advisory. No fixed release is listed. Published 2024-07-01. GHSA-9v2f-6vcg-3hgv · CVE-2024-39236
Open redirect in gradio Moderate 5.4 CWE-601 — Affected: up to and including 4.36.1. No fixed release is listed. Published 2024-06-22. GHSA-g6c9-f4xm-9j4x · CVE-2024-4940
Local file inclusion in gradio High 7.5 CWE-20 CWE-22 — Affected: before 4.31.3. Fixed in 4.31.3. Published 2024-06-06. GHSA-6v6g-j5fq-hpvw · CVE-2024-4941
Server-Side Request Forgery in gradio High 8.6 CWE-918 — Affected: up to and including 4.36.0. No fixed release is listed. Published 2024-06-06. GHSA-973g-55hp-3frw · CVE-2024-4325
Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files Moderate 4.3 CWE-352 — Affected: before 4.19.2. Fixed in 4.19.2. Published 2024-05-21. GHSA-48cq-79qq-6f7x · CVE-2024-1727
Gradio's Component Server does not properly consider` _is_server_fn` for functions Moderate 6.5 — Affected: before 4.13.0. Fixed in 4.13.0. Published 2024-05-05. GHSA-34rf-p3r3-58x2 · CVE-2024-34511
Gradio allows credential leakage on Windows High 7.5 CWE-116 — Affected: before 4.20.0. Fixed in 4.20.0. Published 2024-05-05. GHSA-rvfh-h6c7-fc3c · CVE-2024-34510
gradio Server-Side Request Forgery vulnerability Moderate 6.5 CWE-601 — Affected: before 4.10.0. Fixed in 4.10.0. Published 2024-04-16. GHSA-qh6x-j82h-vpf9 · CVE-2024-1183
Duplicate Advisory: Gradio Local File Inclusion vulnerability High 7.5 CWE-22 — Affected: before 4.19.2. Fixed in 4.19.2. Published 2024-04-10. GHSA-3f95-mxq2-2f63
Gradio apps vulnerable to timing attacks to guess password Moderate 5.9 CWE-367 — Affected: before 4.19.2. Fixed in 4.19.2. Published 2024-03-29. GHSA-hmx6-r76c-85g9 · CVE-2024-1729
gradio Server-Side Request Forgery vulnerability High 7.3 CWE-918 — Affected: before 4.18.0. Fixed in 4.18.0. Published 2024-03-27. GHSA-r364-m2j9-mf4h · CVE-2024-2206
Gradio's CI vulnerable to Command Injection High 8.6 CWE-77 — Affected: before 4.18.0. Fixed in 4.18.0. Published 2024-03-27. GHSA-xcgp-r7r8-2hc9 · CVE-2024-1540
Duplicate Advisory: Cross-Site Request Forgery in Gradio Moderate 4.3 CWE-352 — Affected: before 4.19.2. Fixed in 4.19.2. Published 2024-03-21. GHSA-3x9g-xfj5-fq84
Gradio makes the `/file` secure against file traversal and server-side request forgery attacks High 8.6 CWE-22 — Affected: before 4.11.0. Fixed in 4.11.0. Published 2023-12-22. GHSA-6qm2-wpxq-7qh2 · CVE-2023-51449
Gradio Exposure of Sensitive Information to an Unauthorized Actor vulnerability Critical 9.6 CWE-200 CWE-77 — Affected: before 4.14.0. Fixed in 4.14.0. Published 2023-12-14. GHSA-gqvf-3hgp-5hxv · CVE-2023-6572
Gradio arbitrary file upload vulnerability Moderate 4.8 CWE-434 — Affected: up to and including 3.27.0. No fixed release is listed. Published 2023-09-15. GHSA-v4q9-qgqf-7jwp · CVE-2023-41626
Gradio vulnerable to arbitrary file read and proxying of arbitrary URLs Moderate 7.3 CWE-20 — Affected: before 3.34.0. Fixed in 3.34.0. Published 2023-06-08. GHSA-3qqg-pgqq-3695 · CVE-2023-34239
Update share links to use FRP instead of SSH tunneling Moderate 5.4 CWE-798 — Affected: before 3.13.1. Fixed in 3.13.1. Published 2023-02-23. GHSA-3x5j-9vwr-8rr5 · CVE-2023-25823
Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging High 8.8 CWE-1236 — Affected: before 2.8.11. Fixed in 2.8.11. Published 2022-03-17. GHSA-f8xq-q7px-wg8c · CVE-2022-24770
Files on the host computer can be accessed from the Gradio interface Critical 8.3 CWE-22 — Affected: before 2.5.0. Fixed in 2.5.0. Published 2021-12-15. GHSA-rhq2-3vr9-6mcr · CVE-2021-43831

Find gradio across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.