> CVE-2024-1561 [HIGH]

« BACK_TO_HOME
PUBLISHED
2024-04-16 00:15
MODIFIED
2025-07-30 14:48
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
9.31%
Top 4.6%
🎯 NUCLEI TEMPLATE
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-11 OSV 🔗 2026-11-08 NUCLEI 🔗 2026-11-08

> 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.

> AFFECTED_PRODUCTS

Gradio Project - Gradio
>= 4.12.0 < 4.13.0

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-g9cj-cfpp-4g2x HIGH

gradio vulnerable to Path Traversal

AFFECTED PACKAGES:
PIP / gradio
< 4.13.0
Fixed in: 4.13.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

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

AFFECTED PACKAGES:
Unknown / Unknown
17 versions affected
ALIASES:
GHSA-g9cj-cfpp-4g2x, PYSEC-2026-1415

> NUCLEI TEMPLATES

Des templates Nuclei sont disponibles pour scanner cette vulnérabilité.

🎯
CVE-2024-1561.yaml
http/cves/2024/CVE-2024-1561.yaml
Usage: nuclei -t http/cves/2024/CVE-2024-1561.yaml -u target.com

> HISTORIQUE DES MODIFICATIONS

Première apparition
16/04/2024 00:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:50
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME