CVE-2023-41626: Gradio arbitrary file upload vulnerability
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.25724%
CWE
Published
9/16/2023
Updated
11/12/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| gradio | pip | <= 3.27.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability explicitly references the /upload interface as the attack vector. In web frameworks like Gradio, route handlers are typically mapped to specific functions. The combination of CWE-434 (unrestricted file upload) and the advisory's description of temporary directory uploads points to the file upload handler function as the vulnerable component. While exact code isn't available, Gradio's architecture patterns and the vulnerability description strongly suggest the upload_file route handler in routes.py is responsible for insecure file handling.