BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-24770 in Gradio Project Gradio

High 8.8

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS1.3%
EPSS percentile71th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Gradio Project Gradio < 2.8.11

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-24770
BreachSpider IDBS-2022-GLOBAL-314316-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2022-03-17
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-1236: CWE-1236

Analysis AI-written, not human-reviewed

CVE-2022-24770 affects the gradio library prior to version 2.8.11, where improper neutralization of formula elements in a CSV file can lead to arbitrary code execution if the CSV file is opened in a vulnerable spreadsheet application.

An attacker can exploit this vulnerability by injecting malicious formula elements into the CSV file through the flagging functionality of the gradio library. If the resulting CSV file is opened in a spreadsheet application that processes formula elements, the attacker's code can be executed.

Questions

What is CVE-2022-24770?

CVE-2022-24770 affects the gradio library prior to version 2.8.11, where improper neutralization of formula elements in a CSV file can lead to arbitrary code execution if the CSV file is opened in a vulnerable spreadsheet application.

What is the CVSS score for CVE-2022-24770?

CVE-2022-24770 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.3%.

Is CVE-2022-24770 actively exploited?

No confirmed active exploitation of CVE-2022-24770 as of 2026-09-25.

How do I remediate CVE-2022-24770?

Priority: HIGH.

What systems are affected by CVE-2022-24770?

CVE-2022-24770 affects Gradio Project Gradio.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Gradio Project","product":"Gradio","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.