---
id: CVE-2024-1183
aliases:
  - GHSA-qh6x-j82h-vpf9
  - PYSEC-2026-1419
title: gradio Server-Side Request Forgery vulnerability
summary: gradio Server-Side Request Forgery vulnerability
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'
vendor: gradio
product: gradio
ecosystem: pip
affected:
  - gradio < 4.10.0
patched:
  - gradio 4.10.0
published: '2024-04-16'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:18.820680048Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-qh6x-j82h-vpf9'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-1183'
  - url: >-
      https://github.com/gradio-app/gradio/commit/2ad3d9e7ec6c8eeea59774265b44f11df7394bb4
  - url: >-
      https://github.com/gradio-app/gradio/commit/7ba8c5da45b004edd12c0460be9222f5b5f5f055
  - url: 'https://github.com/gradio-app/gradio'
  - url: 'https://huntr.com/bounties/103434f9-87d2-42ea-9907-194a3c25007c'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.01799
epssPercentile: 0.77539
exploits:
  nuclei:
    - CVE-2024-1183
  checkedAt: '2026-09-24T07:52:50.901Z'
exploitAvailable: true
ingestedAt: '2026-07-08T18:25:52.423Z'
---

## Overview

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.

## Affected packages

- `gradio < 4.10.0`

## Remediation

Upgrade to a patched release:

- `gradio 4.10.0`
