CVE-2024-1727
CVE-2024-1727 is a medium-severity vulnerability in Gradio Project Gradio with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-352.
Key facts
- Severity: Medium (CVSS 3.x base score 4.3)
- EPSS exploit prediction: 0% (27th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-1407
- Weakness: CWE-352
- Affected product: Gradio Project Gradio
- Published:
- Last modified:
Description
A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.
Frequently asked questions
- What is CVE-2024-1727?
- A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.
- How severe is CVE-2024-1727?
- CVE-2024-1727 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2024-1727 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (27th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-1727?
- CVE-2024-1727 affects Gradio Project Gradio. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-1727?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-1727 have an EU (EUVD) identifier?
- Yes. CVE-2024-1727 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1407.
- When was CVE-2024-1727 published?
- CVE-2024-1727 was published on 2024-03-21 and last updated on 2026-06-17.
References
- https://github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a
- https://huntr.com/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff
Affected products (1)
- cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
More vulnerabilities in Gradio Project Gradio
- CVE-2024-47167 — Critical (CVSS 9.8): Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **Server-Side…
- CVE-2024-39236 — Critical (CVSS 9.8): Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py.…
- CVE-2024-0964 — Critical (CVSS 9.4): A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API…
- CVE-2024-47871 — Critical (CVSS 9.1): Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure…
- CVE-2024-4253 — Critical (CVSS 9.1): A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the…
- CVE-2022-24770 — High (CVSS 8.8): `gradio` is an open source framework for building interactive machine learning models and demos. Prior to version…
All CVEs affecting Gradio Project Gradio →
Other CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities
- CVE-2025-32642 — Critical (CVSS 10.0): Cross-Site Request Forgery (CSRF) vulnerability in appsbd Vite Coupon vite-coupon allows Remote Code Inclusion.This…
- CVE-2025-23922 — Critical (CVSS 10.0): Cross-Site Request Forgery (CSRF) vulnerability in Harsh iSpring Embedder embed-ispring allows Upload a Web Shell to a…
- CVE-2017-5145 — Critical (CVSS 10.0): An issue was discovered in Carlo Gavazzi VMU-C EM prior to firmware Version A11_U05, and VMU-C PV prior to firmware…
- CVE-2019-25729 — Critical (CVSS 9.8): PDF Signer 3.0 contains a server-side template injection vulnerability that allows unauthenticated attackers to execute…
- CVE-2025-48340 — Critical (CVSS 9.8): Cross-Site Request Forgery (CSRF) vulnerability in Danny Vink User Profile Meta Manager user-profile-meta allows…
- CVE-2025-2907 — Critical (CVSS 9.8): The Order Delivery Date WordPress plugin before 12.3.1 does not have authorization and CSRF checks when importing…
Browse all CWE-352 (Cross-Site Request Forgery (CSRF)) vulnerabilities →