An issue was discovered in gradio-app/gradio, where the /component_server endpoint improperly allows the invocation of any method on a Component class with attacker-controlled arguments. Specifically, by exploiting the move_resource_to_block_cache() method of the Block class, an attacker can copy any file on the filesystem to a temporary directory and subsequently retrieve it. This vulnerability enables unauthorized local file read access, posing a significant risk especially when the application is exposed to the internet via launch(share=True), thereby allowing remote attackers to read files on the host machine. Furthermore, gradio apps hosted on huggingface.co are also affected, potentially leading to the exposure of sensitive information such as API keys and credentials stored in environment variables.
CVE-2024-1561
“—” beside the score: it is equal to NVD's CVSS score.
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2024-04-16. NVD baseline CVSS 7.5; sources differ by 0.0.
Also known asEUVD-2024-1205 (ENISA EUVD) · GHSA-g9cj-cfpp-4g2x (GitHub Security Advisories) · PYSEC-2026-1415 (OSV.dev)Source: ENISA EUVD
- Public exploit or proof-of-concept code is available
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5HIGHmedium confidence
- EG Risk
- 65EG Risk 65/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity75% × 45%Impact severity (EG Severity): CVSS 7.5 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation40% × 40%EchelonGraph's fixed weight for EG-KEV Tier 3 (Elevated): a constant, not a probability.Automatability100% × 15%CISA's SSVC Automatable value: yes (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Attend at high (mission-essential systems).Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 9.3%
- EPSS %ILE
- 95th
- KEV
- Not listed
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (7.5): severity, escalated by confirmed exploitation. This CVE's 7.5 is its impact severity (EG Severity), not escalated.
- EG Severity
- 7.5 HIGHCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
- EG Likelihood
- 9.3% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-31). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track at medium mission impactTrack at low or medium mission impact; Attend at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; 60 days if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; 60 days if it is not.
The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
April 16, 2024
Last Modified
July 30, 2025
Advisory Details (3)
Auto-updated Oct 12, 2026huntr - The world's first bug bounty platform for AI/ML
https://huntr.com/bounties/4acf584e-2fe8-490e-878d-2d9bf2698338commit 24a583688046 (gradio-app/gradio)
Fix landed in gradio-app/gradio commit 24a583688046 — awaiting tagged release
https://github.com/gradio-app/gradio/commit/24a583688046867ca8b8b02959c441818bdb34a2Patch Availability(1)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| pip | gradio @ 4.13.0 (fixes < 4.13.0) | — | ghsa |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| gradio | 0.1.0 ... 4.9.1 (500 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 40× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 94 of 169 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 6 repeat rows among the latest 100 are merged into the row they repeat. The 75 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-11-01 16:31 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-11-01 08:16 UTCGHSA enrichmentGHSA-g9cj-cfpp-4g2x · GitHub severity HIGH · GitHub CVSS 7.5
- 2026-11-01 08:16 UTCEG score recompute
- 2026-10-31 16:30 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-30 16:31 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-29 16:30 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-28 19:36 UTCEG score recompute
- 2026-10-28 18:25 UTCOSV refresh
- 2026-10-28 16:29 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-27 16:29 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-25 17:20 UTCEG score recompute
- 2026-10-25 16:30 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-24 16:30 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-23 16:29 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-22 16:31 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-21 16:29 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-20 20:44 UTCEG score recompute
- 2026-10-20 16:30 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-19 16:29 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-18 16:29 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-18 07:30 UTCEG score recompute
- 2026-10-17 16:30 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-16 16:36 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-15 16:29 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-14 16:30 UTCEPSS rescoreEPSS 9.3% · 95th percentile
Show 69 moreShow fewer
- 2026-10-13 16:30 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-12 16:31 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-12 15:03 UTCEG score recompute
- 2026-10-11 21:29 UTCEG score recompute
- 2026-10-11 16:23 UTCEG score recompute
- 2026-10-11 15:06 UTCOSV refresh
- 2026-10-11 13:45 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-10 19:58 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-09 20:05 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-08 17:07 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-07 23:46 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-06 15:15 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-05 17:41 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-04 23:20 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-03 14:23 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-10-01 19:48 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-30 16:48 UTCEG score recompute
- 2026-09-30 15:01 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-29 15:17 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-28 13:49 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-27 13:43 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-26 00:23 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-24 14:01 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-23 13:46 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-22 14:46 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-22 02:46 UTCOSV refresh
- 2026-09-19 15:40 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-18 19:26 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-16 14:06 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-16 05:11 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-15 03:08 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-11 14:51 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-11 09:34 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-08 21:58 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-07 15:59 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-06 13:46 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-05 15:26 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-04 13:58 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-04 05:04 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-03 00:29 UTCOSV refresh
- 2026-09-02 14:10 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-09-01 13:52 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-08-30 19:15 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-08-30 01:20 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-08-28 21:39 UTCEPSS rescoreEPSS 9.3% · 95th percentile
- 2026-08-27 14:23 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-26 14:44 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-25 13:47 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-23 00:17 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-21 23:47 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-20 22:53 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-19 17:02 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-18 13:46 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-16 14:54 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-16 12:30 UTCOSV refresh
- 2026-08-16 02:12 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-15 01:28 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-13 21:58 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-12 13:49 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-11 13:40 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-10 23:58 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-09 13:45 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-08 16:35 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-07 16:25 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-06 13:45 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-05 19:15 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-04 15:08 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-04 10:36 UTCEPSS rescoreEPSS 9.3% · 94th percentile
- 2026-08-02 02:25 UTCEPSS rescoreEPSS 9.3% · 94th percentile
Publicly available exploits
(3 references)Public exploit code is referenced for this CVE (1 GitHub PoC), as are 1 Nuclei detection template, 1 GitHub checker repository. A detection template checks whether a system is affected; it is not necessarily exploit code. A GitHub repository named or described as a checker or scanner checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.
- Nucleihttp/cves/2024/CVE-2024-1561.yamlPublished May 15, 2024
Gradio 4.3-4.12 - Local File Read
Open source ↗ - GitHub checkerDiabloHTB/Nuclei-Template-CVE-2024-1561Published May 12, 2024
Nuclei Templates
Open source ↗ - GitHub PoCDiabloHTB/CVE-2024-1561Published May 11, 2024
Poc for CVE-2024-1561 affecting Gradio 4.12.0
Open source ↗
Related CVEs(same product + same CWE)
Same product
10 shownPyPI:gradio
- CVE-2024-47167EG 9.8CRITICAL
- CVE-2024-39236EG 9.8CRITICAL
- CVE-2023-6572NVD 8.1EG 9.6CRITICAL
- CVE-2024-0964EG 9.4CRITICAL
- CVE-2024-47871EG 9.1CRITICAL
- CVE-2024-4253EG 9.1CRITICAL
- CVE-2024-1728NVD 7.5EG 9.0EPSS p100CRITICAL
- CVE-2024-47084NVD 8.3EG 8.8HIGH
- CVE-2022-24770EG 8.8HIGH
- CVE-2024-4325EG 8.7EPSS p99HIGH
Same CWE
10 shownCWE-29
Frequently asked(5)
What is CVE-2024-1561?
When was the CVE record for CVE-2024-1561 published?
Is CVE-2024-1561 actively exploited?
What is the CVSS score of CVE-2024-1561?
How do I remediate CVE-2024-1561?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-1561
Is Your Infrastructure Affected by CVE-2024-1561?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.