CVE-2021-43831: Local file access vulnerability in Gradio interface
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
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
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Framework / tooling
- products
- Gradio
- incident date
- 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.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2021-43831 · path_traversal · gradio
- record
- created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z · json
Sources · 2
- 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 GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-07-08Gradio SSRF and Open Redirect Vulnerability CVE-2026-598062 Disclosedon AIInfra vuln1 src
- 2026-07-01Gradio FileExplorer Path Traversal Vulnerability CVE-2026-491192 Disclosedon AIInfra vuln2 src
- 2026-06-04CVE-2026-10783: Gradio audio cache key ignores metadata in hash generation2 Disclosedon AIInfra vuln2 src
- 2026-05-27CVE-2026-48545: Gradio cookie injection leads to cross-Space session fixation2 Disclosedon AIInfra vuln2 src
- 2026-02-27CVE-2026-28415: Gradio Open Redirect in OAuth Flow2 Disclosedon AIInfra vuln2 src
- 2026-02-27CVE-2026-28414: Gradio Path Traversal Vulnerability on Windows2 Disclosedon AIInfra vuln2 src