CVE-2024-1727 json
CSRF Vulnerability in gradio-app/gradio
published 2y ago modified 2mo ago also EUVD-2024-1407 , GHSA-48cq-79qq-6f7x , PYSEC-2026-1409
- cvss
- 4.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi gradio 4.19.2
- gradio-app gradio-app/gradio 4.19.2
- github.com/gradio-app/gradio@84802ee commit
- github.com/gradio-app/gradio#7503 pull request
Is CVE-2024-1727 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-15).
Exploits and checks
- huntr.com https://huntr.com/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 4.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gradio | <4.19.2 |
4.19.2 |
Affected products
- gradio-app gradio-app/gradio
- gradio_project gradio
Classification
- Weakness
-
- CWE-352 Cross-Site Request Forgery
References
-
github.com
/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a
web, patch
-
github.com
/gradio-app/gradio/pull/7503
web
-
huntr.com
/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff
web, exploit, third-party-advisory
-
github.com
/gradio-app/gradio/security/advisories/GHSA-48cq-79qq-6f7x
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-1727
advisory
-
github.com
/gradio-app/gradio
package
-
pypi.org
/project/gradio
package
-
github.com
/advisories/GHSA-48cq-79qq-6f7x
advisory
Sources
- CVE List CVE-2024-1727
- GitHub Advisory GHSA-48cq-79qq-6f7x
- NVD CVE-2024-1727
- OSV PYSEC-2026-1409
- Maintainer advisory GHSA-48cq-79qq-6f7x
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of gradio-app/gradio published their own advisory on GitHub. Reviewed sources take precedence over it.