Cyber Resilience

CVE-2024-4254

Gradio Project Gradio

Public PoC
Published
04 June 2024
Modified
15 October 2025
CVSS Score v3 7.1
Click a component to see what it means
Raw vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
EPSS Score 0.0047 38th percentile
Risk Priority 54 floored blend · peak EPSS

Summary

CVE-2024-4254 is a high-severity Invocation of Process Using Visible Sensitive Information (CWE-214) vulnerability in Gradio Project Gradio. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Unsecured Credentials (T1552); ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as Machine Learning Libraries; in the Supply Chain and Deployment risk domain.

The strongest mitigations our analysis identified map to SC-4 (Information in Shared System Resources) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
Machine Learning Libraries
Risk Domain
Supply Chain and Deployment
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Gradio is an open-source Python library for creating web interfaces for machine learning models, fitting under Other Platforms as a deployment and demo tool for AI/ML applications. The vulnerability is in its GitHub repository's CI/CD workflow.

Related Threats

MITRE ATT&CK Enterprise Techniques

T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1057 Process Discovery Discovery
Adversaries may attempt to get information about running processes on a system.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-10648Same product: Gradio Project Gradio
CVE-2023-25823Same product: Gradio Project Gradio
CVE-2026-10783Same product: Gradio Project Gradio
CVE-2024-1540Same product: Gradio Project Gradio
CVE-2024-1729Same product: Gradio Project Gradio
CVE-2024-4941Same product: Gradio Project Gradio
CVE-2024-39236Same product: Gradio Project Gradio
CVE-2023-34239Same product: Gradio Project Gradio
CVE-2024-1727Same product: Gradio Project Gradio
CVE-2024-8021Same product: Gradio Project Gradio

Affected Assets

gradio project
gradio
all versions

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.2.5

Mitigating Controls (NIST 800-53 r5) AI

Prevents unintended transfer of sensitive command-line arguments or environment variables through shared OS resources visible to other processes.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.DS-10 mostly match
prevents

Explicit example of removing confidential data from process listings directly prevents visible sensitive arguments.

PR.PS-06 mostly match
prevents

Secure SDLC practices include avoiding exposure of secrets via command lines or environment variables.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

degrades

Restricting privileged utility programs reduces the chance that sensitive invocation data is exposed to other processes.

mitigates

Privileged access rights reduce exposure of sensitive command-line arguments to unauthorized observers.

prevents

Secure coding practices can prevent passing sensitive data via command-line arguments or environment variables.

mitigates

Information access restriction limits visibility of process arguments and environment variables to authorized users only.

none

Separation of environments limits the blast radius if sensitive invocation data is exposed.

References