Advisory

PYSEC-2026-64

Also known as: CVE-2026-28414, GHSA-39mp-8hj3-5c49

Summary

The record has no summary.

Details

Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.7, Gradio apps running on Window with Python 3.13+ are vulnerable to an absolute path traversal issue that enables unauthenticated attackers to read arbitrary files from the file system. Python 3.13+ changed the definition of os.path.isabs so that root-relative paths like /windows/win.ini on Windows are no longer considered absolute paths, resulting in a vulnerability in Gradio's logic for joining paths safely. This can be exploited by unauthenticated attackers to read arbitrary files from the Gradio server, even when Gradio is set up with authentication. Version 6.7 fixes the issue.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-02-27 22:16 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

gradio

PyPI · All systems

Affected

  • introduced 0, fixed 6.7.0 (ecosystem)

Fixed versions

6.7.0

Fix

  • Fixed version 6.7.0
    pip install --upgrade gradio==6.7.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences