Advisory

PYSEC-2026-1419

Also known as: CVE-2024-1183, GHSA-qh6x-j82h-vpf9

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: CVSS v3 score 6.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-07 17:47 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: PyPA Advisory Database · CC BY 4.0

Sources & licences