Vulnerability report

Exploited in the wild High confidence Not in CISA KEV

CVE-2024-1561

gradio-app/gradio Arbitrary Local File Read

Gradio-app / gradio-app/gradio · 4.12.0

Severity
CVSS 7.5 · High
Confidence
High
Exploit status
Exploited in the wild
EPSS
9.3%
First observed
—
Last observed
—

Decision summary

What security teams need to know first

Direct answers before the deeper technical record.

What it is

CVE-2024-1561 is an unauthenticated vulnerability affecting Gradio-app gradio-app/gradio. An issue was discovered in gradio-app/gradio, where the `/component_server` endpoint improperly allows the invocation of any...

Is it exploited?

Yes. Previdian tracks this CVE as a known exploited vulnerability. Confidence is high. Also confirmed by third-party sources.

Who is affected?

Gradio-app / gradio-app/gradio 4.12.0.

What should we do?

Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.

Overview

gradio-app/gradio Arbitrary Local File Read

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.

gradio_project Affected
gradio
4.12.0
gradio-app Affected
gradio-app/gradio
Before 4.13.0
Published
16 Apr 2024
Exploitation Reported
04 Jun 2026
Attack vector
Remote
Complexity
Low
Privileges
None
User interaction
None

Tags

nuclei_scanner

CVE References

Exploitation evidence

Why Previdian marks this CVE as exploited

Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.

Exploited in the wild

The Shadowserver

Recorded 04 Jun 2026

A trusted third party reported exploitation.

Proof of concept available

GitHub

Recorded 11 May 2024

Public scanner or PoC coverage increases practical exploitability.

Known exploited vulnerability sources

Per-source evidence links for KEV attestations are available through the Previdian Pro API.

Learn about Pro API access
Source Added
The Shadowserver First 2025-10-05 00:00 UTC

Detection

Operational artifacts and observed signals

Make the evidence actionable in scanner, SOC, and edge-control workflows.

Observed signals

Request targets
User-Agents
Callback hosts
0
0
0

Request targets and User-Agents available in Pro. Callback host details available in Enterprise.

Virtual patch status

No Previdian virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.

Learn about virtual patches →

Scanner Artifacts

Scanner and exploit-framework references linked to this CVE.

Risk and context

Severity, weaknesses, and research context

CVSS v3.0

7.5 High

Potential damage if exploited. Separate from whether attackers are using it.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS

9.3%

Estimated chance of exploitation in the next 30 days. Previdian's warning comes from evidence, not this score.

Potential Proof of Concepts

These PoCs are unverified and could contain malware. Use at your own risk.

Gradio 4.3-4.12 - Local File Read

nuclei · Created Unknown

Timeline

From disclosure to observed exploitation

  1. 14:20 UTC

    Public PoC available

    Public proof-of-concept code published

  2. 00:00 UTC

    Added to Previdian KEV Feed

    High-confidence, third-party attested exploitation

  3. 00:00 UTC

    Nuclei template available

    Scanner coverage available

  4. 17:55 UTC

    Nessus plugin available

    Scanner coverage available

  5. 00:00 UTC

    CVE published

    Vulnerability disclosed publicly

  6. 19:12 UTC

    CVE ID reserved

    Identifier reserved by the CNA

Pro API

Automate this intelligence

Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.

  • Evidence confidence and provenance
  • First-party sensor telemetry
  • PoC and scanner references
  • Affected versions and enrichment
  • Automation-ready JSON delivery

GET /api/v2/pro/kevs/CVE-2024-1561

Free JSON includes basic KEV fields
{
  "cve_id": "CVE-2024-1561",
  "confidence": "High",
  "cvss_score": 7.5,
  "cvss_estimated": false,
  "epss_score": 0.09314,
  "exploit_status": {
    "exploited_in_the_wild": true,
    "active_exploitation_observed": false
  },
  "sensor_telemetry": { "attempts": 0, "sensors": 0 }
}