VULNERABILITY INTELLIGENCE
CVE-2021-43831
CVSS score7.7 HIGH
EPSS probability3.85%
CISA KEVNot currently listed
Published2021-12-15
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Description
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.
Weakness classification
- security-advisories@github.com: CWE-22
- nvd@nist.gov: CWE-22
Primary references
- security-advisories@github.com — Patch, Third Party Advisory
- security-advisories@github.com — Exploit, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Patch, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Exploit, Third Party Advisory