CVE-2024-4254: Secrets Exfiltration in gradio-app/gradio

Published Jun 4, 2024
·
Updated

The 'deploy-website.yml' workflow in the gradio-app/gradio repository, specifically in the 'main' branch, is vulnerable to secrets exfiltration due to improper authorization. The vulnerability arises from the workflow's explicit checkout and execution of code from a fork, which is unsafe as it allows the running of untrusted code in an environment with access to push to the base repository and access secrets. This flaw could lead to the exfiltration of sensitive secrets such as GITHUBTOKEN, HFTOKEN, VERCELORGID, VERCELPROJECTID, COMMENTTOKEN, AWSACCESSKEYID, AWSSECRETKEY, and VERCELTOKEN. The vulnerability is present in the workflow file located at https://github.com/gradio-app/gradio/blob/72f4ca88ab569aae47941b3fb0609e57f2e13a27/.github/workflows/deploy-website.yml.

Affected Software

2 affected components
gradio-app gradio
Gradio Project Gradio Python

Event History

Jun 4, 2024
CVE Published
via MITRE·12:01 PM
Data Sourced
via MITRE·12:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
Sep 2, 2026
Exploit Published
via GitHub·03:23 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-4254?

CVE-2024-4254 is classified as a medium severity vulnerability due to its potential for secrets exfiltration.

2

How do I fix CVE-2024-4254?

To address CVE-2024-4254, ensure proper authorization mechanisms are implemented in the 'deploy-website.yml' workflow in the gradio repository.

3

What kind of application is affected by CVE-2024-4254?

CVE-2024-4254 affects the Gradio application, specifically in its deployment workflows.

4

What is the impact of CVE-2024-4254?

The impact of CVE-2024-4254 includes the possible exfiltration of sensitive secrets due to unauthorized code execution.

5

Which GitHub repository contains the CVE-2024-4254 vulnerability?

The CVE-2024-4254 vulnerability is found in the gradio-app/gradio repository on GitHub.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203