VDB
Sign up
MEDIUM6.5

PYSEC-2026-1419

gradio Server-Side Request Forgery vulnerability

Quick fix

PYSEC-2026-1419 — gradio: upgrade to the fixed version with the command below.

pip install --upgrade 'gradio>=4.10.0'

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/gradio
Introduced in: 0Fixed in: 4.10.0
Fixpip install --upgrade 'gradio>=4.10.0'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/gradio"]}'