← Vulnerability feed

Vulnerability record · CVE-2024-4253 · published 4 June 2024

CVE-2024-4253: Gradio project gradio os command injection vulnerability

Gradio Project · Gradio

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/[email protected]'. 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'.

9.1 CVSS 3.1 Critical EPSS 1.7% · top 23.7% CWE-78 · OS command injection
9.1CVSS 3.1 base score
1.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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/[email protected]'. 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'.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-4253 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-39236Gradio project gradio code injection vulnerabilityGradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py. This vulnerability is triggered …EPSS 0.87%9.8CVE-2023-25823Gradio project gradio hard-coded credentials vulnerabilityGradio is an open-source Python library to build machine learning and data science demos and web applications. Versions prior to 3.13.1 contain Use o…EPSS 0.55%9.4CVE-2024-0964Gradio project gradio path traversal vulnerabilityA local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API request.EPSS 0.96%9.1CVE-2023-34239Gradio project gradio improper input validation vulnerabilityGradio is an open-source Python library that is used to build machine learning and data science. Due to a lack of path filtering Gradio does not prop…EPSS 0.65%8.8CVE-2022-24770Gradio project gradio csv injection vulnerability`gradio` is an open source framework for building interactive machine learning models and demos. Prior to version 2.8.11, `gradio` suffers from Impro…EPSS 1.3%8.7CVE-2026-49119Gradio project gradio path traversal vulnerabilityGradio before 6.16.0 contain a path traversal vulnerability in the FileExplorer component's preprocess() method that allows unauthenticated attackers…EPSS 0.93%8.7CVE-2025-23042Gradio project gradio improper authorization vulnerabilityGradio is an open-source Python package that allows quick building of demos and web application for machine learning models, API, or any arbitrary Py…EPSS 0.98%8.6CVE-2026-28416Gradio project gradio server-side request forgery (ssrf) vulnerabilityGradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, a Server-Side Request Forgery (SSRF) vulnerability in…EPSS 0.35%

Source: NIST National Vulnerability Database (record CVE-2024-4253), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.