CVE-2024-4253

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

Configuration 1 (hide)

cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*

History

30 Jul 2025, 18:59

Type Values Removed Values Added
References () https://github.com/gradio-app/gradio/commit/a0e70366a8a406fdd80abb21e8c88a3c8e682a2b - () https://github.com/gradio-app/gradio/commit/a0e70366a8a406fdd80abb21e8c88a3c8e682a2b - Patch
References () https://huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675e - () https://huntr.com/bounties/23cb3749-8ae9-4e1a-9023-4a20ca6b675e - Exploit, Third Party Advisory
First Time Gradio Project
Gradio Project gradio
CWE CWE-77
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1
CPE cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*

04 Jun 2024, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-04 08:15

Updated : 2025-07-30 18:59


NVD link : CVE-2024-4253

Mitre link : CVE-2024-4253


JSON object : View

Products Affected

gradio_project

  • gradio
CWE

No CWE.