Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, the _redirect_to_target() function in Gradio's OAuth flow accepts an unvalidated _target_url query parameter, allowing redirection to arbitrary external URLs. This affects the /logout and /login/callback endpoints on Gradio apps with OAuth enabled (i.e. apps running on Hugging Face Spaces with gr.LoginButton). Starting in version 6.6.0, the _target_url parameter is sanitized to only use the path, query, and fragment, stripping any scheme or host.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
Publisert
2026-02-27
Sist endret
2026-06-17
Tildelt av
security-advisories@github.com
CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Scoret av
nvd@nist.gov (NVD Primary)
Sannsynlighet for utnyttelse
0.2 %
høyere enn 14 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK.
Dette viser hvilke teknikker svakhetsklassen historisk brukes til.
Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
T1007: System Service Discovery discovery
T1014: Rootkit stealth
T1016: System Network Configuration Discovery discovery
T1018: Remote System Discovery discovery
T1027.009: Embedded Payloads stealth
T1033: System Owner/User Discovery discovery
T1036.005: Match Legitimate Resource Name or Location stealth
T1037: Boot or Logon Initialization Scripts persistence, privilege-escalation
T1046: Network Service Discovery discovery
T1049: System Network Connections Discovery discovery