Advisory

GHSA-qh6x-j82h-vpf9

Also known as: CVE-2024-1183, PYSEC-2026-1419

Summary

gradio Server-Side Request Forgery vulnerability

Details

An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attackers to scan and identify open ports within an internal network. By manipulating the 'file' parameter in a GET request, an attacker can discern the status of internal ports based on the presence of a 'Location' header or a 'File not allowed' error in the response.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-04-16 00:30 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 4.10.0 (ecosystem)

Fixed versions

4.10.0

Fix

  • Fixed version 4.10.0
    pip install --upgrade gradio==4.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences