CVE-2026-134825

high

Description

Gradio 6.27.0 before 6.32.0 contains an authentication bypass vulnerability in gradio/history.py that allows remote unauthenticated attackers to use the operator's locally saved Hugging Face token by sending a forged Host: localhost header. When ssr_mode is enabled, requests proxied through the local Node SSR server pass the loopback check, letting attackers call run history endpoints to list buckets, read records and assets, and write buckets under the operator's account.

References

https://www.vulncheck.com/advisories/gradio-6.27.0-before-6.32.0-authentication-bypass-via-forged-host-header

https://github.com/gradio-app/gradio/releases/tag/gradio%406.32.0

https://github.com/gradio-app/gradio/pull/14050

https://github.com/gradio-app/gradio/commit/fda8037b83f316454e96201dfad96e50944f8547

https://github.com/gradio-app/gradio/blob/gradio%406.31.0/gradio/history.py#L521-L559

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-132838

Details

Source: Mitre, NVD

Published: 2026-11-22

Updated: 2026-12-04

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 8.3

Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Severity: High

EPSS

EPSS: 0.0094