Intel

AIKIDO-2025-10009

gradio is vulnerable to Unrestricted File Upload

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jan 7, 2025
January 7, 2025

55

CVE Score

Medium

Unrestricted File Upload

Are you affected? Scan for Free

TL;DR

Affected versions of this package are affected by unrestricted file uploads due to insecure methods that improperly handle file extensions and MIME types when processing files. This vulnerability could allow an attacker to upload malicious files, such as malware, leading to critical security issues and misbehavior.

How do I fix this?

Upgrade the gradio library to the patch version.

Who does this affect?

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

Package

Versions

4.19.1 - 5.9.1

Fixed in 5.10.0

Background info

gradio is vulnerable to Unrestricted File Upload in versions 4.19.1 - 5.9.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea