cve.bz

CVE-2021-43831

7.7 highEPSS 3.9%

High (7.7) in gradio project gradio. EPSS 3.9% chance of exploitation in the next 30 days. Fixed in gradio 2.5.0.

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.

Severity

CVSS 3.1

7.7 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
EPSS
3.9% chance of exploitation in the next 30 days; higher than 90% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rhq2-3vr9-6mcrPyPIgradio<2.5.02.5.0
PYSEC-2021-873PyPIgradio<2.5.02.5.0

References

Check your stackJSON