# CVE-2026-79662: Ech0 before 4.7.3 OAuth Redirect URI Validation Bypass

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-07T21:30:45.000Z
- Modified: 2026-08-31T20:50:15.927Z
- Also known as: GHSA-p64j-f4x9-wq66, GO-2026-5531
- Weaknesses: CWE-601, CWE-1173
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- lin-snow Ech0: before 4.7.3 (not affected: 4.7.3)
- github.com/lin-snow/Ech0 (Go): before 1.4.8-0.20260503040728-a7e8b8e84bd1

## Every score

- VulnCheck: CVSS:4.0 8.8 High `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`
- VulnCheck: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/lin-snow/Ech0/security/advisories/GHSA-p64j-f4x9-wq66> (exploit, advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/ech0-before-oauth-redirect-uri-validation-bypass> (third-party-advisory)
- <https://github.com/lin-snow/Ech0/commit/a7e8b8e84bd1e3db090dfb720f2c6c433356b442> (web)
- <https://github.com/lin-snow/Ech0> (package)

## Sources

- CVE List: [CVE-2026-79662](https://www.cve.org/CVERecord?id=CVE-2026-79662), CVE Terms of Use, modified 2026-08-25
- GitHub Advisory Database: [GHSA-p64j-f4x9-wq66](https://github.com/advisories/GHSA-p64j-f4x9-wq66), CC-BY-4.0, modified 2026-08-27
- Go Vulnerability Database: [GO-2026-5531](https://pkg.go.dev/vuln/GO-2026-5531), CC-BY-4.0, modified 2026-08-27
- NVD: [CVE-2026-79662](https://nvd.nist.gov/vuln/detail/CVE-2026-79662), Public domain, modified 2026-08-31

---

Page: https://cve.day/CVE-2026-79662 · Whole record: https://cve.day/CVE-2026-79662.json · Rebuilt by cve.day 2026-11-25T22:59:35.139Z
