Skip to content

gradio

47 advisories in the AI Sec Watch database name gradio (PyPI). gradio (PyPI) has declared an LLM component as a dependency since 2023-03-14. The most recent advisory that names gradio and states a fix gives 6.16.0.

Python library for easily interacting with trained machine learning models

The first release to declare it was version 3.21.0.

PyPILatest 6.31.0First release 2019-02-19Registry pageRepositoryChecked 2026-11-09

Advisories

Advisories that name gradio as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.

Time to fix: a median of −9 days from disclosure to the release of the fixed version, over 36 advisories with a dated fix (fastest −123, slowest +27 days). A negative count means the fix was released before the advisory's disclosure date.

AdvisorySeverityAffectedFixed inFix releasedPublished
CVE-2026-49119Gradio FileExplorer path traversal in preprocess() methodHigh< 6.16.06.16.02026-06-03 (−28 d)2026-07-01
CVE-2026-48545Gradio cookie injection through shared proxy HTTP clientMedium< 6.15.06.15.02026-05-26 (−1 d)2026-05-27
CVE-2026-28416Gradio server-side request forgery when loading a Space with gr.load()High< 6.6.06.6.02026-02-17 (−10 d)2026-02-27
CVE-2026-28415Gradio OAuth open redirect via _target_url on /logout and /login/callbackMedium< 6.6.06.6.02026-02-17 (−10 d)2026-02-27
CVE-2026-28414Gradio absolute path traversal on Windows with Python 3.13+ file readHigh< 6.7.06.7.02026-02-26 (−1 d)2026-02-27
CVE-2026-27167Gradio token leak through mocked OAuth login routeInfo>= 4.16.0, < 6.6.06.6.02026-02-17 (−10 d)2026-02-27
CVE-2025-48889Gradio arbitrary file copy in flagging feature allows unauthenticated attackersMedium< 5.31.05.31.02025-05-22 (−8 d)2025-05-30
CVE-2025-5320gradio-app gradio CORS origin validation flaw allows privilege escalationLow>= 5.0.0, <= 5.29.12025-05-29
CVE-2024-8966Gradio denial of service through multipart boundary processing in file uploadHigh<= 5.22.02025-03-20
CVE-2024-8021gradio-app/gradio open redirect via URL encodingMedium<= 4.37.22025-03-20
CVE-2024-12217gradio-app/gradio path traversal on Windows via NTFS alternate data streamsHigh<= 5.0.12025-03-20
CVE-2024-10648Gradio Audio component path traversal allowing arbitrary file deletionMedium>= 4.0.0, <= 5.0.0b22025-03-20
CVE-2024-10624gradio Datetime component ReDoS via crafted HTTP requestMedium>= 4.38.0, <= 5.0.0-beta.22025-03-20
CVE-2024-10569gradio dataframe component zip bomb denial of service via uploadMedium>= 4.0.0, <= 5.0.0b22025-03-20
CVE-2025-23042Gradio access control bypass via case-altered file pathsHigh< 5.11.05.11.02025-01-08 (−7 d)2025-01-15
CVE-2024-51751Gradio file preview components allow reading arbitrary files on the serverMedium>= 5.0.0, < 5.5.05.5.02024-11-04 (−3 d)2024-11-07
CVE-2024-48052gradio gr.DownloadButton server-side request forgery in save_url_to_cacheMedium<= 4.42.02024-11-05
CVE-2024-47872Gradio cross-site scripting through uploaded HTML, JavaScript, or SVG filesMedium< 5.0.05.0.02024-10-09 (−2 d)2024-10-11
CVE-2024-47871Gradio insecure communication between FRP client and server when share=TrueCritical< 5.0.05.0.02024-10-09 (−2 d)2024-10-11
CVE-2024-47870Gradio race condition in update_root_in_config allows backend URL redirectionHigh< 5.0.05.0.02024-10-09 (−2 d)2024-10-11
CVE-2024-47869Gradio timing attack in hash comparison for analytics_dashboardLow< 4.44.04.44.02024-09-10 (−31 d)2024-10-11
CVE-2024-47868Gradio arbitrary file leak through post-processing of file data componentsHigh< 5.0.05.0.02024-10-09 (−2 d)2024-10-11
CVE-2024-47867Gradio lack of integrity check on downloaded FRP clientHigh< 5.0.05.0.02024-10-09 (−2 d)2024-10-11
CVE-2024-47168Gradio data exposure through /monitoring endpoint when monitoring is disabledMedium< 4.44.04.44.02024-09-10 (−31 d)2024-10-11
CVE-2024-47167Gradio server-side request forgery through the /queue/join endpointCritical< 5.0.05.0.02024-10-09 (−2 d)2024-10-11
CVE-2024-47166Gradio one-level read path traversal in /custom_component endpointMedium< 4.44.04.44.02024-09-10 (−31 d)2024-10-11
CVE-2024-47165Gradio CORS origin validation accepts null origin on local deploymentsMedium< 5.0.05.0.02024-10-09 (−2 d)2024-10-11
CVE-2024-47164Gradio directory traversal check bypass in is_in_or_equal functionMedium< 5.0.05.0.02024-10-09 (−2 d)2024-10-11
CVE-2024-47084Gradio CORS origin validation flaw allows cross-site requestsHigh< 4.44.04.44.02024-09-10 (−31 d)2024-10-11
CVE-2024-4940Gradio open redirect vulnerability via unvalidated URL inputMedium<= 4.36.12024-06-22
CVE-2024-4941Gradio JSON component local file inclusion via postprocessHigh< 4.31.34.31.32024-05-15 (−22 d)2024-06-06
CVE-2024-4325Gradio SSRF through the queue/join endpoint and save_url_to_cacheHigh<= 4.36.02024-06-06
CVE-2024-34510CVE-2024-34510: Gradio before 4.20 allows credential leakage on Windows.High< 4.20.04.20.02024-03-06 (−61 d)2024-05-06
CVE-2024-1561Gradio local file read through /component_server endpointHigh< 4.13.04.13.02024-01-05 (−102 d)2024-04-16
CVE-2024-1183Gradio SSRF through file parameter enabling internal port scanningMedium< 4.10.04.10.02023-12-15 (−123 d)2024-04-16
CVE-2024-1728gradio-app/gradio local file inclusion in UploadButton via /queue/joinHigh< 4.19.24.19.22024-02-22 (−48 d)2024-04-10
CVE-2024-1729Gradio timing attack in login function allows password guessingHigh< 4.19.24.19.22024-02-22 (−36 d)2024-03-29
CVE-2024-2206gradio-app/gradio SSRF through the /proxy route via X-Direct-Url headerMedium< 4.18.04.18.02024-02-10 (−46 d)2024-03-27
CVE-2024-1727Gradio CSRF allows uploading large files to local systemsMedium< 4.19.24.19.22024-02-22 (−29 d)2024-03-22
CVE-2024-0964Gradio local file include through user-supplied JSON value in API requestCritical< 4.9.04.9.02023-12-13 (−55 d)2024-02-06
CVE-2023-51449Gradio file traversal through the /file routeMedium< 4.11.04.11.02023-12-20 (−3 d)2023-12-23
CVE-2023-6572gradio-app/gradio command injectionHigh>= 0, < 4.14.04.14.02024-01-10 (+27 d)2023-12-14
CVE-2023-41626Gradio arbitrary file upload via the /upload interfaceMedium<= 3.27.02023-09-16
CVE-2023-34239Gradio file access and URL proxying flaws due to missing path filteringHigh< 3.34.03.34.02023-06-07 (−1 d)2023-06-08
CVE-2023-25823Gradio hard-coded credentials exposure via share linksMedium< 3.13.13.13.12022-12-15 (−71 d)2023-02-24
CVE-2022-24770gradio CSV injection in flagged output filesHigh< 2.8.112.8.112022-03-17 (0 d)2022-03-17
CVE-2021-43831Gradio arbitrary file read through publicly shared interface linksHigh< 2.5.02.5.02021-12-14 (−2 d)2021-12-16

Dependencies of the latest release

As declared in PyPI metadata for version 6.31.0. Optional extras are listed with their extra name.

Tracked packages that depend on it

Among the packages in the registry; not every dependent on PyPI.