Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-62379

LOW 3.1EPSS 28%

Open Redirect in reflex-dev/reflex

Also known as GHSA-rfh5-c9h5-q8jm, PYSEC-2026-1868

Mitigation

  • Upgrade reflex to 0.8.15 or later.

Who should check

  • Projects that depend on PyPI package reflex (>= 0.5.4, <= 0.8.14)
  • Anyone running reflex-dev reflex >= 0.5.4, < 0.8.15

Vulnerability facts

Affected
reflex >= 0.5.4, <= 0.8.14
Fixed in
reflex-dev reflex 0.8.15
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
3.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.42% chance of exploitation in 30 days (percentile 28, 2026-11-26)
CWE
CWE-601
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI reflex>= 0.5.4, <= 0.8.14—osv
reflex-dev reflex>= 0.5.4, < 0.8.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-62379. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-62379.md
Affected: reflex >= 0.5.4, <= 0.8.14
Fixed in: reflex-dev reflex 0.8.15

Steps:
1. Search this machine and project for reflex (PyPI), reflex-dev reflex: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-62379 being exploited?

There is no confirmed exploitation: CVE-2025-62379 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-62379?

Low: CVSS 3.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-62379?

reflex >= 0.5.4, <= 0.8.14.

Is there a fix for CVE-2025-62379?

Yes. Fixed in reflex-dev reflex 0.8.15. Upgrade reflex to 0.8.15 or later.

How do I check if I'm affected by CVE-2025-62379?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors