Live threats

All CVEs / Gradio Project

CVE-2022-24770Gradio Project Gradio

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Mar 17, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1236
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

`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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gradio.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gradio < 2.8.11 2.8.11 pip install "gradio>=2.8.11"
PyPI gradio < 2.8.11 2.8.11 pip install "gradio>=2.8.11"

Per OSV / GitHub Advisories (GHSA-f8xq-q7px-wg8c, PYSEC-2022-229). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gradio_projectgradio< 2.8.11

Official sources

References

Links published by the sources. Open them with care.