← Terug naar overzicht

Ech0 versions through 4.5.6 contain an OAuth redirect URI validation vulnerability in the parseAndValidateClientRedirect function (internal/service/auth/auth.go). The validation logic only compares the scheme and host of the client-supplied redirect_uri against an admin-configured allowlist, ignoring path, query, and fragment components. The unvalidated redirect_uri is embedded into a signed state JWT at login time. An attacker can craft a redirect_uri with a matching host but an attacker-controlled path; after the OAuth exchange, the victim is redirected to that path with a one-time exchange code in the query string. If the code leaks via Referer headers, analytics, or an open redirect on the allowed host, the attacker can redeem it at the public POST /api/auth/exchange endpoint to obtain the victim's access and refresh tokens, effectively achieving account takeover. The vulnerability has been fixed in version 4.7.3.

Affected products

  • Ech0 through 4.5.6

Related CVE's

  • CVE-2026-79662

Categories

  • Identity & Access
  • Web Technologies