We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-5320

gradio-app gradio CORS is_valid_origin privilege escalation



Description

EN DE

A vulnerability classified as problematic has been found in gradio-app gradio up to 5.29.1. This affects the function is_valid_origin of the component CORS Handler. The manipulation of the argument localhost_aliases leads to erweiterte Rechte. It is possible to initiate the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Es wurde eine Schwachstelle in gradio-app gradio bis 5.29.1 entdeckt. Sie wurde als problematisch eingestuft. Hiervon betroffen ist die Funktion is_valid_origin der Komponente CORS Handler. Mittels dem Manipulieren des Arguments localhost_aliases mit unbekannten Daten kann eine erweiterte Rechte-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Die Komplexität eines Angriffs ist eher hoch. Sie ist schwierig auszunutzen. Der Exploit steht zur öffentlichen Verfügung.

Reserved 2025-05-29 | Published 2025-05-29 | Updated 2025-06-01 | Assigner VulDB


MEDIUM: 6.3CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
LOW: 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
LOW: 3.7CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
2.6AV:N/AC:H/Au:N/C:N/I:P/A:N

Problem types

Origin Validation Error

Insufficient Verification of Data Authenticity

Product status

5.29.0
affected

5.29.1
affected

Timeline

2025-05-29:Advisory disclosed
2025-05-29:VulDB entry created
2025-06-01:VulDB entry last update

Credits

Jiacheng Zhong finder

Zhengyu Liu finder

Gavin Zhong (VulDB User) reporter

Gavin Zhong (VulDB User) analyst

References

vuldb.com/?id.310491 (VDB-310491 | gradio-app gradio CORS is_valid_origin privilege escalation) vdb-entry technical-description

vuldb.com/?ctiid.310491 (VDB-310491 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/?submit.580250 (Submit #580250 | gradio <=5.29.1 Cross-Site Request Forgery) third-party-advisory

gist.github.com/...rboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe related

gist.github.com/...rboy-zjc/aa3dfa161d7b19d8a53ab4605792f2fe exploit

cve.org (CVE-2025-5320)

nvd.nist.gov (CVE-2025-5320)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-5320

Support options

Helpdesk Chat, Email, Knowledgebase