CVE-2022-24770 Details
Description
`gradio` is an open source framework for building interactive machine learning models and demos. Prior to version 2.8.11, `gradio` suffers from Improper Neutralization of Formula Elements in a CSV File. The `gradio` library has a flagging functionality which saves input/output data into a CSV file on the developer's computer. This can allow a user to save arbitrary text into the CSV file, such as commands. If a program like MS Excel opens such a file, then it automatically runs these commands, which could lead to arbitrary commands running on the user's computer. The problem has been patched as of `2.8.11`, which escapes the saved csv with single quotes. As a workaround, avoid opening csv files generated by `gradio` with Excel or similar spreadsheet programs.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gradio-app/gradio/commit/80fea89117358ee105973453fdc402398ae20239 | CVE | PatchThird Party Advisory |
| https://github.com/gradio-app/gradio/pull/817 | CVE | PatchThird Party Advisory |
| https://github.com/gradio-app/gradio/security/advisories/GHSA-f8xq-q7px-wg8c | CVE | Third Party Advisory |
| https://github.com/gradio-app/gradio/commit/80fea89117358ee105973453fdc402398ae20239 | [email protected] | PatchThird Party Advisory |
| https://github.com/gradio-app/gradio/pull/817 | [email protected] | PatchThird Party Advisory |
| https://github.com/gradio-app/gradio/security/advisories/GHSA-f8xq-q7px-wg8c | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1236 | Improper Neutralization of Formula Elements in a CSV File | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gradio project gradio | < 2.8.11 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 24, 2022 | Initial Analysis | [email protected] |