CVE-2024-1729

Timing Attack Vulnerability in gradio-app/gradio

MEDIUM
5.9
CVSS Score
Published: March 29, 2024 at 04:35 AM UTC
Updated: June 17, 2026 at 07:04 AM UTC
2 products affected across 2 vendorsGradioProject Gradio

Using gradio-app/gradio by gradio-app?

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

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.5%
SSVC
PoC

Description

A timing attack vulnerability exists in the gradio-app/gradio repository, specifically within the login function in routes.py. The vulnerability arises from the use of a direct comparison operation (`app.auth[username] == password`) to validate user credentials, which can be exploited to guess passwords based on response times. Successful exploitation of this vulnerability could allow an attacker to bypass authentication mechanisms and gain unauthorized access.

Affected

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

v ≤ 4.19.24.18.0 ≤ v < 4.19.2
Affected range stops below 4.19.2, so it looks safe — our inference, not a vendor statement
v < 4.19.2
Affected range stops below 4.19.2, 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:

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

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

CVSS

5.9MEDIUM@huntr_ai
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-367

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