Security mailing lists by PureSourceCode

CVE-2022-24770

HIGH 8.8CVSS 3.1

Improper Neutralization of Formula Elements in a CSV File in Gradio Flagging

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.

Published
17 Mar 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-1236
Also known as
GHSA-f8xq-q7px-wg8cPYSEC-2022-229
Sources
NVDJSONOSV GHSA-f8xq-q7px-wg8cJSONOSV PYSEC-2022-229JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gradio_project gradio
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
< 2.8.11 2.8.11
OSV PyPI gradio < 2.8.11 2.8.11

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 17 Mar 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Mar 2022)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.