CVE-2024-47084

CORS origin validation is not performed when the request has a cookie in Gradio

HIGH
8.3
CVSS Score
Published: October 10, 2024 at 09:53 PM UTC
Updated: June 17, 2026 at 07:56 AM UTC
2 products affected across 2 vendorsGradioProject Gradio

Using gradio by gradio-app?

Get instant alerts when new vulnerabilities affect gradio - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.3
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

Description

Gradio is an open-source Python package designed for quick prototyping. This vulnerability is related to **CORS origin validation**, where the Gradio server fails to validate the request origin when a cookie is present. This allows an attacker’s website to make unauthorized requests to a local Gradio server. Potentially, attackers can upload files, steal authentication tokens, and access user data if the victim visits a malicious website while logged into Gradio. This impacts users who have deployed Gradio locally and use basic authentication. Users are advised to upgrade to `gradio>4.44` to address this issue. As a workaround, users can manually enforce stricter CORS origin validation by modifying the `CustomCORSMiddleware` class in their local Gradio server code. Specifically, they can bypass the condition that skips CORS validation for requests containing cookies to prevent potential exploitation.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.44v < 4.44.0
Affected range stops below 4.44, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.44.0, so it looks safe — our inference, not a vendor statement
v < 4.44
Affected range stops below 4.44, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-285NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card