CVE-2021-43831: Local file access vulnerability in Gradio interface
Gradio
An arbitrary file read vulnerability exists in Gradio versions prior to 2.4.8 due to insecure static file serving. Attackers could access host files via exact relative paths when public links were active.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
- CVSS
- 9.3
- EPSS
- 0.04 · top 10% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 15 Dec 2021
- last update
- 21 Jan 2022
- CVE ids
Timeline · 2
Sources · 2
Advisories and databases
- 2021-12-15CVE-2021-43831: Gradio is an open source framework for building interactive machine learning models and demos.NVD · nvd.nist.gov/vuln/detail/CVE-2021-43831
- 2022-01-21CVE-2021-43831: Files on the host computer can be accessed from the Gradio interfaceGitHub Advisory Database · github.com/advisories/GHSA-rhq2-3vr9-6mcr
Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- Framework / tooling
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- dates
- happened 21 Jan 2022 · first reported 15 Dec 2021
- origin
- GitHub Advisory DatabaseVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- record
- confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2021-43831: Local file access vulnerability in Gradio interface https://gcdradar.vercel.app/incidents/cve-2021-43831-local-file-access-vulnerability-in-gradio-int · AIR-2022-0040 · closed 2021-12-15 - Lane: Patch now - Severity: 2 (Disclosed vulnerability) - Fix status: Fix status unknown - First reported: 2021-12-15 (happened 2022-01-21) - AI role: Attack on AI - Products: Gradio - CVE ids: CVE-2021-43831 - CVSS: 9.3 ## Summary An arbitrary file read vulnerability exists in Gradio versions prior to 2.4.8 due to insecure static file serving. Attackers could access host files via exact relative paths when public links were active. ## What to do No action recorded; read the sources below and the vendor's advisory. ## Latest updates - 2022-01-21: CVE-2021-43831: Files on the host computer can be accessed from the Gradio interface (https://github.com/advisories/GHSA-rhq2-3vr9-6mcr) - 2021-12-15: CVE-2021-43831: Gradio is an open source framework for building interactive machine learning models and demos. (https://nvd.nist.gov/vuln/detail/CVE-2021-43831) ## Sources - 2021-12-15 NVD: CVE-2021-43831: Gradio is an open source framework for building interactive machine learning models and demos. https://nvd.nist.gov/vuln/detail/CVE-2021-43831 - 2022-01-21 GitHub Advisory Database: CVE-2021-43831: Files on the host computer can be accessed from the Gradio interface https://github.com/advisories/GHSA-rhq2-3vr9-6mcr Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.
Related
- closed7.4Gradio Gradio SSRF and Open Redirect Vulnerability CVE-2026-59806
Patch now · Disclosed · since 8 Jul 2026 · CVE-2026-59806
AI - closed8.7Gradio Gradio FileExplorer Path Traversal Vulnerability CVE-2026-49119
Patch now · Disclosed · since 1 Jul 2026 · CVE-2026-49119
AI - closed2.5Gradio CVE-2026-10783: Gradio audio cache key ignores metadata in hash generation
Patch now · Disclosed · since 4 Jun 2026 · CVE-2026-10783
AI - closed7.6Gradio CVE-2026-48545: Gradio cookie injection leads to cross-Space session fixation
Patch now · Disclosed · since 27 May 2026 · CVE-2026-48545
AI - closed4.3Gradio CVE-2026-28415: Gradio Open Redirect in OAuth Flow
Patch now · Disclosed · since 1 Mar 2026 · updated 1 Mar 2026 · CVE-2026-28415
AI - closed7.5Gradio CVE-2026-28414: Gradio Path Traversal Vulnerability on Windows
Patch now · Disclosed · since 1 Mar 2026 · updated 1 Mar 2026 · CVE-2026-28414
AI