Advisory

PYSEC-2026-66

Also known as: CVE-2026-28416, GHSA-jmh7-g254-2cq9

Summary

The record has no summary.

Details

Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, a Server-Side Request Forgery (SSRF) vulnerability in Gradio allows an attacker to make arbitrary HTTP requests from a victim's server by hosting a malicious Gradio Space. When a victim application uses gr.load() to load an attacker-controlled Space, the malicious proxy_url from the config is trusted and added to the allowlist, enabling the attacker to access internal services, cloud metadata endpoints, and private networks through the victim's infrastructure. Version 6.6.0 fixes the issue.

Severity

High Basis: CVSS v3 score 8.6, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Dates

Published
2026-02-27 22:16 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 6.6.0 (ecosystem)

Fixed versions

6.6.0

Fix

  • Fixed version 6.6.0
    pip install --upgrade gradio==6.6.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