Live threats

All CVEs / Gradio Project

CVE-2024-4253Gradio Project Gradio

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jun 4, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the 'test-functional.yml' workflow. The vulnerability arises due to improper neutralization of special elements used in a command, allowing for unauthorized modification of the base repository or secrets exfiltration. The issue affects versions up to and including '@gradio/video@0.6.12'. The flaw is present in the workflow's handling of GitHub context information, where it echoes the full name of the head repository, the head branch, and the workflow reference without adequate sanitization. This could potentially lead to the exfiltration of sensitive secrets such as 'GITHUB_TOKEN', 'COMMENT_TOKEN', and 'CHROMATIC_PROJECT_TOKEN'.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gradio.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gradio < 4.29.0 4.29.0 pip install "gradio>=4.29.0"

Per OSV / GitHub Advisories (PYSEC-2024-321). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gradio_projectgradio< 4.29.0

Official sources

References

Links published by the sources. Open them with care.