Intel

AIKIDO-2026-243340

gradio is vulnerable to Server-side Request Forgery (SSRF)

Server-side Request Forgery (SSRF)GHSA-3xvj-7669-6whx Published 4 days ago

65

Medium Risk

This Affects:

PYTHONgradio
5.0.0 - 6.15.2
Fixed in 6.16.0
Are you affected? Scan for Free

TL;DR

A server-side request forgery (SSRF) vulnerability exists in Gradio where user-controlled URLs are fetched during SVG image processing and audio output handling without adequate validation. The affected code performs server-side HTTP requests and returns the fetched content to clients, allowing an attacker to induce requests to internal services, cloud metadata endpoints, or other non-public resources and potentially exfiltrate sensitive information. Users should upgrade to a fixed version that enforces URL validation, redirect re-validation, and protections against access to internal network addresses.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

gradio is vulnerable to Server-side Request Forgery (SSRF) in versions 5.0.0 - 6.15.2.

How to fix this

Upgrade the gradio library to the patch version.