CVE-2026-27167Disclosure(gradio_project / gradio)

LOWCVSS 5.9 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-522CWE-798

Priority

LOW

Exploitation

NONE

PoC

YES

Patch

NONE

Momentum

STABLE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • gradio

Threat summary

  • 3 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Technical details provided in 2 signals
  • Disclosure: 2 classified signals
  • General: 1 classified signal
  • Peaked 1d ago at 2 mentions (2026-02-28); latest day: 1
  • 3 total mentions across 2 days

Affected systems

Products
gradio

Deep dive

Activity timeline3 mentions / 2d
01122Mentions · 2026-02-28: 2Mentions · 2026-03-01: 1Technical Details · 2026-02-28: 1Technical Details · 2026-03-01: 102-2803-01
Signal classification2 categories
Disclosure
266.7%
General
133.3%
Referenced assets3 URLs
Classification over time
DateTotalLabels
2026-02-282
Disclosure1General1
2026-03-011
Disclosure1
Full discourse3 posts
  • cvereports@_cvereports
    Disclosure

    CVE-2026-27167: Critical Credential Leakage and Open Redirect in Gradio OAuth Flow A critical vulnerability in the Gradio Python package allows unauthenticated remote attackers to extract sensitive Hugging Face access tokens from the server environmen... https://cvereports.com/reports/CVE-2026-27167

    Post summary

    The report announces a critical credential leakage and open redirect vulnerability in Gradio’s OAuth flow, allowing unauthenticated attackers to retrieve Hugging Face access tokens from the server environment.

    0000055
    33 followersView on X
  • CVE@CVEnew
    General

    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 … https://www.cve.org/CVERecord?id=CVE-2026-27167

    Post summary

    The text references CVE-2026-27167 for Gradio but provides no further technical or operational details.

    00000131
    56.6K followersView on X
  • Vulmon Vulnerability Feed@VulmonFeeds
    Disclosure

    CVE-2026-27167 OAuth Token Theft Vulnerability in Gradio 4.16.0 to 6.5.0 https://vulmon.com/vulnerabilitydetails?qid=CVE-2026-27167

    Post summary

    A brief disclosure of the OAuth token theft vulnerability in Gradio versions 4.16.0 to 6.5.0, with no mention of PoC, exploitation, or patch details.

    0000052
    4.0K followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appgradio_projectgradio-python-

Explore more