Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. waku
  4. ›
  5. CVE-2026-49456

CVE-2026-49456: Waku has an Open Redirect via `unstable_redirect` Helper

July 8, 2026

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.

Dynamic PoC confirmed against waku 1.0.0-beta.0 (commit 8e9f542) in an isolated Docker environment. Two independent dynamic runs produced identical results.


Any developer-supplied user input passed to unstable_redirect() is reflected unchanged into the HTTP Location header, enabling navigation to an attacker-controlled domain.


References

  • github.com/advisories/GHSA-43fc-v873-qw85
  • github.com/wakujs/waku/releases/tag/v1.0.0-beta.1
  • github.com/wakujs/waku/security/advisories/GHSA-43fc-v873-qw85
  • nvd.nist.gov/vuln/detail/CVE-2026-49456

Code Behaviors & Features

Detect and mitigate CVE-2026-49456 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.0-beta.1

Fixed versions

  • 1.0.0-beta.1

Solution

Upgrade to version 1.0.0-beta.1 or above.

Impact 3.1 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/waku/CVE-2026-49456.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:40 +0000.