---
id: CVE-2023-41626
aliases:
  - GHSA-v4q9-qgqf-7jwp
  - PYSEC-2026-1422
title: Gradio arbitrary file upload vulnerability
summary: Gradio arbitrary file upload vulnerability
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'
vendor: gradio
product: gradio
ecosystem: pip
affected:
  - gradio <= 3.27.0
published: '2023-09-16'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-v4q9-qgqf-7jwp'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-41626'
  - url: 'https://gist.github.com/impose1/590472eb0544ef1ec36c8a5a40122adb'
  - url: 'https://github.com/gradio-app/gradio'
tags:
  - osv
  - pip
epss: 0.00406
epssPercentile: 0.32125
ingestedAt: '2026-07-08T18:25:53.070Z'
---

## Overview

Gradio v3.27.0 was discovered to contain an arbitrary file upload vulnerability via the `/upload` interface.

## Affected packages

- `gradio <= 3.27.0`

## Remediation

Refer to the advisory for the patched release.
