Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-1561

published high CVSS 3.0 · 7.5

Arbitrary Local File Read via Component Method Invocation in gradio-app/gradio

Published
16 Apr 2024, 00:00:15 UTC
Updated
13 Feb 2025, 17:32:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
gradio-app — gradio-app/gradiounspecified to < 4.13.0 Affected Not stated @huntr_ai
gradio_project — gradio4.12.0 · Other versions: unknown Affected Not stated CISA-ADP

Description

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.

en · @huntr_ai · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
7.5 / 10
Severity
high
Provider
@huntr_ai · cna
Vector string
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
gradio-app gradio-app/gradio unspecified to < 4.13.0 (affected · custom) @huntr_ai · cna
gradio_project gradio 4.12.0 (affected)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-29 CWE-29 Path Traversal: '\..\filename' (@huntr_ai · cna)

References

3

Provider assertions

3

@huntr_ai · cna

Arbitrary Local File Read via Component Method Invocation in gradio-app/gradio

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
9746596adae5eebd843f1a7311bba02fb02cdcdbea43640b4487b1c39f551e8d
Ingested
23 Sep 2026, 08:18:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected