CVE-2026-27167
UNSCOREDDescription
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 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
Low risk: more likely to be exploited than 36% of all known CVEs.
References
Related Vulnerabilities
Other CWE-522 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2019-17662 | Critical | 9.8 | 97% | - | - |
| CVE-2020-29583 | Critical | 9.8 | 90% | KEV | - |
| CVE-2021-30116 | Critical | 10.0 | 86% | KEV + Ransom | Fix |
| CVE-2024-44000 | Critical | 9.8 | 83% | - | Fix |
| CVE-2018-9160 | Critical | 9.8 | 77% | - | - |
| CVE-2017-9248 | Critical | 9.8 | 75% | KEV | Fix |
Embed a live status badge for CVE-2026-27167
Markdown
[](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 freeThis 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.