Advisory record · GHSA-g9cj-cfpp-4g2x

gradio vulnerable to Path Traversal

CVSS 7.5 HighEPSS 0.093 · 95th percentile

Published by the GitHub Advisory Database at 16 Apr 2024, 00:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gradioPyPI<4.13.04.13.0
Identifiers
GHSA-g9cj-cfpp-4g2x · CVE-2024-1561 · PYSEC-2026-1415
Weakness (CWE)
CWE-29
Tags
Published
16 Apr 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Gradio versions before 4.13.0 are vulnerable to path traversal through the /component_server endpoint, which lets callers invoke methods on Component classes with attacker-controlled arguments. An attacker with network access can copy arbitrary files from the host into a temporary directory and then retrieve them, reading local files, including when the app is exposed via launch(share=True). Upgrade gradio to version 4.13.0 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.093, the 95th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:35 UTC First seen by agentprime
  2. 31 Oct 2026, 14:35 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.