Description
Ech0 through 4.5.6 contains an OAuth redirect URI validation vulnerability in parseAndValidateClientRedirect (internal/service/auth/auth.go) that compares only the scheme and host of the client-supplied redirect_uri against the admin-configured allowlist, ignoring path, query, and fragment components. The redirect_uri is embedded into the signed state JWT at login time without validation. An attacker can craft a redirect_uri whose host matches an allowed origin but whose path is attacker-influenced; 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 (e.g., via Referer, analytics, or an open redirect on that host), the attacker can trade it at the public POST /api/auth/exchange endpoint for the victim's access and refresh tokens. Fixed in 4.7.3.
Published: 2026-08-25
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Ech0 4.5.6 and earlier contain a redirect URI validation flaw. The parseAndValidateClientRedirect function checks only the scheme and host of the redirect_uri, ignoring path, query, and fragment components. Consequently an attacker can provide a redirect_uri whose host matches an allowed origin but whose path is attacker‑controlled. After the OAuth flow the victim is redirected to that path with the one‑time exchange code appended. If the code leaks—through the Referer header, analytics, or another open redirect—the attacker can post the code to the public /api/auth/exchange endpoint and obtain the victim’s access and refresh tokens. This results in credential theft and unauthorized access, leveraging an Open Redirect weakness (CWE‑601).

Affected Systems

The affected product is Ech0 from the vendor lin-snow. All Ech0 releases up to and including version 4.5.6 are vulnerable. The issue was fixed in release 4.7.3, so affected versions are 4.5.6 and earlier, and any unpatched installations that have not applied the 4.7.3 or later patch should be considered at risk.

Risk and Exploitability

The vulnerability carries a CVSS score of 8.8, indicating a high severity. EPSS is unavailable, so the exploitation probability is unknown, but the flaw is exploitable via crafted OAuth requests, meaning that any user who initiates an OAuth login to the affected application is a potential victim. The issue is not listed in the CISA KEV catalog, but its impact on OAuth token integrity makes it a significant risk. An attacker does not need any privileged access—simply control the redirect_uri supplied to the client and derive the one‑time code from the resulting redirect. Once the code is intercepted, the attacker can retrieve tokens at the public exchange endpoint and impersonate the user.

Generated by OpenCVE AI on August 25, 2026 at 12:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Ech0 to version 4.7.3 or later to receive the fix for redirect URI validation.
  • Verify the application’s OAuth configuration so that the redirect_uri match process includes full URI comparison or an explicit allowlist of complete URIs, not just host and scheme.
  • If patching immediately is not possible, tighten the redirect_uri allowlist by removing any untrusted hosts and restricting allowed paths to those that belong to the application’s own domains.
  • Monitor login and token exchange traffic for abnormal or unexpected authorization codes and revoke tokens promptly if suspicious activity is detected.

Generated by OpenCVE AI on August 25, 2026 at 12:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 25 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description Ech0 through 4.5.6 contains an OAuth redirect URI validation vulnerability in parseAndValidateClientRedirect (internal/service/auth/auth.go) that compares only the scheme and host of the client-supplied redirect_uri against the admin-configured allowlist, ignoring path, query, and fragment components. The redirect_uri is embedded into the signed state JWT at login time without validation. An attacker can craft a redirect_uri whose host matches an allowed origin but whose path is attacker-influenced; 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 (e.g., via Referer, analytics, or an open redirect on that host), the attacker can trade it at the public POST /api/auth/exchange endpoint for the victim's access and refresh tokens. Fixed in 4.7.3.
Title Ech0 before 4.7.3 OAuth Redirect URI Validation Bypass
First Time appeared Ech0
Ech0 ech0
Weaknesses CWE-601
CPEs cpe:2.3:a:ech0:ech0:*:*:*:*:*:*:*:*
Vendors & Products Ech0
Ech0 ech0
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.8, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-25T11:33:26.056Z

Reserved: 2026-08-25T11:09:11.171Z

Link: CVE-2026-79662

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-25T12:16:31.470

Modified: 2026-08-25T12:16:31.470

Link: CVE-2026-79662

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T12:30:17Z

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')