CVE-2025-62379: reflex · Open Redirect
Affects reflexSource CVE Database V5
Not known to be exploited · CVSS 3.1 Low · fixed in 0.8.15 : update reflex when convenient.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.8.15
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIreflex-dev/reflexpkg:pypi/reflex-dev/reflexOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade reflex to version 0.8.15 or later, where the vulnerability is patched.
- In production environments, ensure that the environment variable GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN is not set or removed to prevent activation of the vulnerable endpoint.
- Implement strict input validation and sanitization for any redirect parameters, enforcing a whitelist of allowed domains or internal paths to prevent open redirects.
- Educate users and developers about the risks of open redirects and encourage vigilance against suspicious URLs, especially those originating from reflex-based applications.
- Monitor web application logs for unusual redirect_to parameter usage or unexpected redirection patterns.
- If upgrading is not immediately possible, consider disabling or restricting access to the /auth-codespace endpoint in production environments.
- Incorporate Content Security Policy (CSP) headers to restrict navigation to trusted domains, mitigating the impact of malicious redirects.
- Conduct security reviews of environment variable configurations to avoid accidental exposure of Codespaces-specific variables in production.
Description
Reflex is a library to build full-stack web apps in pure Python. In versions 0.5.4 through 0.8.14, the /auth-codespace endpoint automatically assigns the redirect_to query parameter value directly to client-side links without any validation and triggers automatic clicks when the page loads in a GitHub Codespaces environment. This allows attackers to redirect users to arbitrary external URLs. The vulnerable route is only registered when a Codespaces environment is detected, and the detection is controlled by environment variables. The same behavior can be activated in production if the GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN environment variable is set. The vulnerability occurs because the code assigns the redirect_to query parameter directly to a.href without any validation and immediately triggers a click (automatic navigation), allowing users to be sent to arbitrary external domains. The execution condition is based on the presence of a sessionStorage flag, meaning it triggers immediately on first visits or in incognito/private browsing windows, with no server-side origin/scheme whitelist or internal path enforcement defenses in place. This issue has been patched in version 0.8.15. As a workaround, users can ensure that GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN is not set in a production environment.