BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-4254 in Gradio Project Gradio

High 7.1

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.07.1
EPSS0.8%
EPSS percentile52th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Gradio Project Gradio No version listed by the source

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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 GITHUB_TOKEN, HF_TOKEN, VERCEL_ORG_ID, VERCEL_PROJECT_ID, COMMENT_TOKEN, AWSACCESSKEYID, AWSSECRETKEY, and VERCEL_TOKEN. The vulnerability is present in the workflow file located at https://github.com/gradio-app/gradio/blob/72f4ca88ab569aae47941b3fb0609e57f2e13a27/.github/workflows/deploy-website.yml.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-4254
BreachSpider IDBS-2024-GLOBAL-217705-H
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Published2024-06-04
Last modified2025-10-15
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-214: CWE-214

Analysis AI-written, not human-reviewed

The 'deploy-website.yml' workflow in the gradio-app/gradio repository is vulnerable to secrets exfiltration due to improper authorization, allowing untrusted code execution with access to the base repository.

The vulnerability arises from the workflow's explicit checkout and execution of code from a fork, which can lead to the execution of malicious code with access to sensitive information and the ability to push changes to the base repository.

Questions

What is CVE-2024-4254?

The 'deploy-website.yml' workflow in the gradio-app/gradio repository is vulnerable to secrets exfiltration due to improper authorization, allowing untrusted code execution with access to the base repository.

What is the CVSS score for CVE-2024-4254?

CVE-2024-4254 has CVSS 7.1 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N. EPSS: 0.8%.

Is CVE-2024-4254 actively exploited?

No confirmed active exploitation of CVE-2024-4254 as of 2026-05-30.

How do I remediate CVE-2024-4254?

Priority: IMMEDIATE.

What systems are affected by CVE-2024-4254?

CVE-2024-4254 affects Gradio Project Gradio.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gradio Project","product":"Gradio","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-10-15.