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

- Severity: High 7.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-06-04T12:01:37.541Z
- Modified: 2026-06-17T08:01:32.243Z
- Weaknesses: CWE-214
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: @huntr_ai

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

(As written by CVE List.)

## Affected

- gradio-app gradio-app/gradio: from unspecified up to latest
- gradio_project gradio: *

## References

- <https://huntr.com/bounties/59873fbd-5698-4ec3-87f9-5d70c6055d01> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-4254](https://www.cve.org/CVERecord?id=CVE-2024-4254), CVE Terms of Use, modified 2025-10-21
- NVD: [CVE-2024-4254](https://nvd.nist.gov/vuln/detail/CVE-2024-4254), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-4254 · Whole record: https://cve.day/CVE-2024-4254.json · Rebuilt by cve.day 2026-11-25T22:58:41.415Z
