SEVERITY AND EXPLOITATION CONTEXT

CVE-2021-43831: Files on the host computer can be accessed from the Gradio interface

Review published vectors, EPSS probability and CISA KEV status independently.

Lookup reads saved CVE and CISA snapshots from this site and requests EPSS from FIRST. The CVE source is contacted when a saved record is unavailable or you request a refresh. External providers receive your IP address. Finding notes and saved assessments are not sent by this feature.

Files on the host computer can be accessed from the Gradio interface

Gradio is an open source framework for building interactive machine learning models and demos. In versions prior to 2.5.0 there is a vulnerability that affects anyone who creates and publicly shares Gradio interfaces. File paths are not restricted and users who receive a Gradio link can access any files on the host computer if they know the file names or file paths. This is limited only by the host operating system. Paths are opened in read only mode. The problem has been patched in gradio 2.5.0.

Published CVE snapshot: 2026-10-22. Record last updated: 2024-08-04T04:10:15.716Z. The live panels refresh separately; this snapshot remains available if a source cannot be reached.

View the CVE Program source record

GitHub_M · CVSS 3.1: 7.7 High

Calculated from the published vector. Base score: 7.7. Provider-reported Base score: 7.7.

Vector and metric explanationsCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
MetricValueMeaning
Attack vector (AV)NReachable across a network boundary, including internet or routed network paths.
Attack complexity (AC)LExploitation does not depend on special conditions beyond the attacker’s control.
Privileges required (PR)LThe attacker needs basic user capabilities before exploitation.
User interaction (UI)NNo other user must participate for exploitation to succeed.
Scope (S)CConsequences extend to resources managed by a different security authority.
Confidentiality (C)HAll information is disclosed, or a limited disclosure has a direct, serious confidentiality consequence.
Integrity (I)NNo integrity impact is demonstrated.
Availability (A)NNo availability impact is demonstrated.

These definitions explain provider selections; they do not independently verify exploitation.

Review vector in calculator

Affected products reported by the provider

  • gradio-app · gradio

Consult the advisory for affected version ranges, configurations and remediation. A product listing alone does not establish that your installation is vulnerable.

Source references (2)

Interpret severity and exploitation separately

CVSS measures technical severity. EPSS estimates exploitation probability over the next 30 days. CISA KEV lists known exploited vulnerabilities. A missing EPSS result is not zero probability, and absence from KEV does not prove no exploitation. Review your deployment and retain the version, vector and evidence when documenting a finding.

Browse CVEs from 2021 · All published CVEs · Calculation methodology