CVE-2024-1727
MEDIUM 4.3CVSS 3.0Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
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.
- Published
- 21 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-352
- Also known as
- GHSA-48cq-79qq-6f7xPYSEC-2026-1409
- Sources
- NVDJSONOSV GHSA-48cq-79qq-6f7xJSONOSV PYSEC-2026-1409JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | MEDIUM 4.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gradio_project | gradiocpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* |
>= 4.16.0, < 4.19.2 | 4.19.2 |
| OSV | PyPI | gradio | < 4.19.2 | 4.19.2 |
References
- https://github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a · Patch, WEB, FIX
- https://huntr.com/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff · Exploit, Third Party Advisory, WEB
- https://github.com/gradio-app/gradio/security/advisories/GHSA-48cq-79qq-6f7x · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-1727 · ADVISORY
- https://github.com/gradio-app/gradio/pull/7503 · WEB
- https://github.com/gradio-app/gradio · PACKAGE
- https://pypi.org/project/gradio · PACKAGE
- https://github.com/advisories/GHSA-48cq-79qq-6f7x · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 Mar 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 May 2024)