Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
`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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| gradio-app | gradio | before 2.8.11 | 2.8.11 | Patch available | CNA |
| — | gradio (PyPI) | before 2.8.11 | 2.8.11 | Patch available | GHSA-f8xq-q7px-wg8c |
- gradio Vendorgradio-app Affected before 2.8.11 Fixed in 2.8.11 Patch available CNA
- gradio (PyPI) Vendor— Affected before 2.8.11 Fixed in 2.8.11 Patch available GHSA-f8xq-q7px-wg8c
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* | before 2.8.11 | Vulnerable | gradio-app |
- cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* Versions before 2.8.11 Vulnerable ·gradio-app
Remediation
- Fix · CNA gradio (gradio-app) Fixed in 2.8.11
- Fix · GHSA-f8xq-q7px-wg8c gradio (PyPI) Fixed in 2.8.11 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24770
- 2026-10-03 Alias added: GHSA-f8xq-q7px-wg8c
References
Patch 2
Advisory 2
More gradio-app Gradio vulnerabilities
- TI-2024-26222 Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component… CVSS 3.1CRITICAL 9.8
- TI-2024-01607 Local File Inclusion in gradio-app/gradio CVSS 3.1HIGH 7.5
- TI-2024-00889 LFI in Gradio CVSS 3.1CRITICAL 9.4
- TI-2025-16852 Gradio Blocked Path ACL Bypass Vulnerability CVSS 4.0HIGH 8.7
- TI-2026-22690 Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing CVSS 3.1HIGH 8.6
- TI-2024-09866 Path Traversal in gradio-app/gradio CVSS 3.0HIGH 8.2
Sources
- CVE-2022-24770 · CVE Program
- CVE-2022-24770 · NVD
- FIRST EPSS
- GHSA-f8xq-q7px-wg8c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences