Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-27167

published none CVSS 3.1 · 0.0

Gradio: Mocked OAuth Login Exposes Server Credentials and Uses Hardcoded Session Secret

Published
27 Feb 2026, 21:40:57 UTC
Updated
02 Mar 2026, 22:02:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
gradio-app — gradio>= 4.16.0, < 6.6.0 Affected Not stated GitHub_M

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
0.0 / 10
Severity
none
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
gradio-app gradio >= 4.16.0, < 6.6.0 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-798 CWE-798: Use of Hard-coded Credentials (GitHub_M · cna)
  • CWE-522 CWE-522: Insufficiently Protected Credentials (GitHub_M · cna)

References

1

Provider assertions

2

GitHub_M · cna

Gradio: Mocked OAuth Login Exposes Server Credentials and Uses Hardcoded Session Secret

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
1c3e3433c697613f6de419ff660a1bfc72ebb490df3a0fce70a92dc8faf36647
Ingested
23 Sep 2026, 09:07:24 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected