CVE-2024-4253

published 4 Jun 2024 · updated 15 Oct 2025

Command Injection in gradio-app/gradio

7.5HighCVSS 7.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 4.29.0.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
gradio-app<4.29.04.29.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-4253 severity on Zeptric[![CVE-2024-4253](https://zeptric.io/badge/cve/CVE-2024-4253.svg)](https://zeptric.io/cve/CVE-2024-4253)