CVE-2024-47871 in Gradio Project Gradio
Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure communication** between the FRP (Fast Reverse Proxy) client and server when Gradio's `share=True` option is used. HTTPS is not enforced on the connection, allowing attackers to intercept and read files uplo...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gradio Project | Gradio | < 5.0.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure communication** between the FRP (Fast Reverse Proxy) client and server when Gradio's `share=True` option is used. HTTPS is not enforced on the connection, allowing attackers to intercept and read files uploaded to the Gradio server, as well as modify responses or data sent between the client and server. This impacts users who are sharing Gradio demos publicly over the internet using `share=True` without proper encryption, exposing sensitive data to potential eavesdroppers. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can avoid using `share=True` in production environments and instead host their Gradio applications on servers with HTTPS enabled to ensure secure communication.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-47871 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-215823-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Published | 2024-10-10 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-311: CWE-311
Related attack patterns (CAPEC)
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-311
CAPEC-37 Retrieve Embedded Sensitive Data via CWE-311
CAPEC-65 Sniff Application Code via CWE-311
CAPEC-158 Sniffing Network Traffic via CWE-311
CAPEC-204 Lifting Sensitive Data Embedded in Cache via CWE-311
Show all 14
CAPEC-383 Harvesting Information via API Event Monitoring via CWE-311
CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-311
CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-311
CAPEC-388 Application API Button Hijacking via CWE-311
CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-311
CAPEC-609 Cellular Traffic Intercept via CWE-311
CAPEC-157 Sniffing Attacks via CWE-311
CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-311
CAPEC-386 Application API Navigation Remapping via CWE-311
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-47871 affects Gradio when the 'share=True' option is used, due to insecure communication between the FRP client and server without HTTPS enforcement, allowing interception and modification of data.
Attackers can intercept and read files uploaded to the Gradio server, as well as modify responses or data sent between the client and server due to the lack of HTTPS enforcement when using the 'share=True' option.
Questions
What is CVE-2024-47871?
CVE-2024-47871 affects Gradio when the 'share=True' option is used, due to insecure communication between the FRP client and server without HTTPS enforcement, allowing interception and modification of data.
What is the CVSS score for CVE-2024-47871?
CVE-2024-47871 has CVSS 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.3%.
Is CVE-2024-47871 actively exploited?
No confirmed active exploitation of CVE-2024-47871 as of 2026-09-25.
How do I remediate CVE-2024-47871?
Priority: IMMEDIATE.
What systems are affected by CVE-2024-47871?
CVE-2024-47871 affects Gradio Project Gradio.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gradio Project","product":"Gradio","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.