LowGHSA-hm3c-93pg-4cxwCVE-2024-47168PYSEC-2024-198

In Gradio, the `enable_monitoring` flag set to `False` does not disable monitoring

Published 10 Oct 2024 · Updated 21 Jan 2025

Is your project on an affected gradio?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

gradioPyPI
Affected
<4.44.0
Fixed in
4.44.0
Update to the fixed version for your release line, for example:pip install 'gradio>=4.44.0'

Details

Impact

What kind of vulnerability is it? Who is impacted?

This vulnerability involves data exposure due to the enable_monitoring flag not properly disabling monitoring when set to False. Even when monitoring is supposedly disabled, an attacker or unauthorized user can still access the monitoring dashboard by directly requesting the /monitoring endpoint. This means that sensitive application analytics may still be exposed, particularly in environments where monitoring is expected to be disabled. Users who set enable_monitoring=False to prevent unauthorized access to monitoring data are impacted.

Patches

Yes, please upgrade to gradio>=4.44 to address this issue.

Is GHSA-hm3c-93pg-4cxw in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected gradio, and gives you the command that fixes it.

More advisories for gradio

  • HighCVE-2026-49119 Gradio FileExplorer preprocess path traversal allows files outside root_dir to reach callbacks · 1 Jul 2026
  • LowCVE-2026-10783Gradio: Audio cache key ignores metadata when saving numpy audio outputs · 4 Jun 2026
  • HighCVE-2026-48545Gradio contains a cookie injection vulnerability · 27 May 2026
  • HighCVE-2026-28416Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing · 1 Mar 2026
  • MediumCVE-2026-28415Gradio has an Open Redirect in its OAuth Flow · 1 Mar 2026
  • HighCVE-2026-28414Gradio is Vulnerable to Absolute Path Traversal on Windows with Python 3.13+ · 1 Mar 2026
All 52 advisories for gradio

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.