Documented Incident · INC-2024-4325 · High severity
Gradio save_url_to_cache Server-Side Request Forgery Against Internal Networks
CVE-2024-4325 (published June 6, 2024) revealed a Server-Side Request Forgery (SSRF) vulnerability in Gradio (`< 4.42.0`) inside `save_url_to_cache` and `/queue/join` handling. Unauthenticated external callers could submit arbitrary URL parameters to make the Gradio host probe internal network ports, fetch private VPC microservices, or query cloud instance metadata endpoints. In enterprise cloud environments running internal Gradio evaluation dashboards, SSRF enabled lateral discovery and cloud credential theft. Maintainers hardened URL validation and blocked private-network fetch targets in updated releases.
Incident dossier metadata
- Case ID
INC-2024-4325- Classification
- Incident
- Date
- Severity
- High
- Sector
- Cloud & AI Infrastructure
- Attack vector
- Exposed Infrastructure
- System type
- Public ML Demo & Model Hosting Interfaces
- CVE / reference
CVE-2024-4325- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-4325
Defensive takeaway
Restrict outbound HTTP fetches in AI web apps via egress proxies and block private RFC-1918 and cloud metadata IPs after DNS resolution.
Mapped AI security techniques
- Active Scanning: Query Platform Metadata APIs AML.T0006.001
- Exploit Public-Facing Application AML.T0049
- Enterprise Resource Discovery AML.T0075
- Exploitation for Credential Access AML.T0106
Mapped defensive controls
- Vulnerability Scanning AML.M0016
- Control Access to AI Models and Data in Production AML.M0019
- Segmentation of AI Agent Components AML.M0032
Source citation records
- NVD Record CVE-2024-4325: Gradio save_url_to_cache SSRF · NIST National Vulnerability Database (NVD) ·