CVE & CISA-KEV Catalog

CVE-2026-27167

UNSCORED

Description

Gradio is an open-source Python package designed for quick prototyping. Starting in version 4.16.0 and prior to version 6.6.0, Gradio applications running outside of Hugging Face Spaces automatically enable "mocked" OAuth routes when OAuth components (e.g. `gr.LoginButton`) are used. When a user visits `/login/huggingface`, the server retrieves its own Hugging Face access token via `huggingface_hub.get_token()` and stores it in the visitor's session cookie. If the application is network-accessible, any remote attacker can trigger this flow to steal the server owner's HF token. The session cookie is signed with a hardcoded secret derived from the string `"-v4"`, making the payload trivially decodable. Version 6.6.0 fixes the issue.

How to fix

Remediation Available
gradioNVD
Affected:>= 4.16.0, < 6.6.0Fixed in:6.6.0CVE-2026-27167derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

0.45%probability of exploitation in 30 days
36thpercentile

Low risk: more likely to be exploited than 36% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-522 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-17662Critical9.897%--
CVE-2020-29583Critical9.890%KEV-
CVE-2021-30116Critical10.086%KEV + RansomFix
CVE-2024-44000Critical9.883%-Fix
CVE-2018-9160Critical9.877%--
CVE-2017-9248Critical9.875%KEVFix
Embed a live status badge for CVE-2026-27167
CVE-2026-27167 severity badge

Markdown

[![CVE-2026-27167](https://tridentstack.com/cve/badge/CVE-2026-27167.svg)](https://tridentstack.com/cve/CVE-2026-27167)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-27167"><img src="https://tridentstack.com/cve/badge/CVE-2026-27167.svg" alt="CVE-2026-27167"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-03-05.