# CVE-2024-47871: Insecure communication between the FRP client and server in Gradio

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-10-10T22:08:51.000Z
- Modified: 2026-06-17T07:57:53.467Z
- Also known as: GHSA-279j-x4gx-hfrh, PYSEC-2024-219
- Weaknesses: CWE-311
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gradio-app gradio: < 5.0.0
- gradio (PyPI): before 5.0.0
- gradio_project gradio: before 5.0.0

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/gradio-app/gradio/security/advisories/GHSA-279j-x4gx-hfrh> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-47871> (advisory)
- <https://github.com/gradio-app/gradio> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/gradio/PYSEC-2024-219.yaml> (web)

## Sources

- CVE List: [CVE-2024-47871](https://www.cve.org/CVERecord?id=CVE-2024-47871), CVE Terms of Use, modified 2024-10-11
- GitHub Advisory Database: [GHSA-279j-x4gx-hfrh](https://github.com/advisories/GHSA-279j-x4gx-hfrh), CC-BY-4.0, modified 2025-01-21
- NVD: [CVE-2024-47871](https://nvd.nist.gov/vuln/detail/CVE-2024-47871), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-219](https://osv.dev/vulnerability/PYSEC-2024-219), CC-BY-4.0, modified 2025-01-19

---

Page: https://cve.day/CVE-2024-47871 · Whole record: https://cve.day/CVE-2024-47871.json · Rebuilt by cve.day 2026-11-25T22:58:46.641Z
