CVE-2026-27167
CVE-2026-27167 is a none-severity vulnerability in Gradio Project Gradio with a CVSS 3.x base score of 0.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-522.
Key facts
- Severity: None (CVSS 3.x base score 0.0)
- EPSS exploit prediction: 0% (36th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-9075
- Weakness: CWE-522
- Affected product: Gradio Project Gradio
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-27167?
- 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 severe is CVE-2026-27167?
- CVE-2026-27167 has a CVSS 3.x base score of 0.0, rated none severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability none.
- Is CVE-2026-27167 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-27167?
- CVE-2026-27167 affects Gradio Project Gradio. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-27167?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-27167 have an EU (EUVD) identifier?
- Yes. CVE-2026-27167 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-9075.
- When was CVE-2026-27167 published?
- CVE-2026-27167 was published on 2026-02-27 and last updated on 2026-06-17.
References
Affected products (1)
- cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
More vulnerabilities in Gradio Project Gradio
- CVE-2024-47167 — Critical (CVSS 9.8): Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **Server-Side…
- CVE-2024-39236 — Critical (CVSS 9.8): Gradio v4.36.1 was discovered to contain a code injection vulnerability via the component /gradio/component_meta.py.…
- CVE-2024-0964 — Critical (CVSS 9.4): A local file include could be remotely triggered in Gradio due to a vulnerable user-supplied JSON value in an API…
- CVE-2024-47871 — Critical (CVSS 9.1): Gradio is an open-source Python package designed for quick prototyping. This vulnerability involves **insecure…
- CVE-2024-4253 — Critical (CVSS 9.1): A command injection vulnerability exists in the gradio-app/gradio repository, specifically within the…
- CVE-2022-24770 — High (CVSS 8.8): `gradio` is an open source framework for building interactive machine learning models and demos. Prior to version…
All CVEs affecting Gradio Project Gradio →
Other CWE-522 (Insufficiently Protected Credentials) vulnerabilities
- CVE-2026-7312 — Critical (CVSS 10.0): CWE‑522: Insufficiently Protected Credentials in web services in Progress Sitefinity version from 14.0.7700 to…
- CVE-2026-29128 — Critical (CVSS 10.0): IDC SFX2100 Satellite Receiver firmware ships with multiple daemon configuration files for routing components (e.g.,…
- CVE-2025-54863 — Critical (CVSS 10.0): Radiometrics VizAir is vulnerable to exposure of the system's REST API key through a publicly accessible configuration…
- CVE-2024-12799 — Critical (CVSS 10.0): Insufficiently Protected Credentials vulnerability in OpenText Identity Manager Advanced Edition on Windows, Linux, 64…
- CVE-2024-51545 — Critical (CVSS 10.0): Username Enumeration vulnerabilities allow access to application level username add, delete, modify and list…
- CVE-2023-1778 — Critical (CVSS 10.0): This vulnerability exists in GajShield Data Security Firewall firmware versions prior to v4.28 (except v4.21) due to…
Browse all CWE-522 (Insufficiently Protected Credentials) vulnerabilities →