Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/lin-snow/ech0
  4. ›
  5. GHSA-hm2h-wwwh-g49x

GHSA-hm2h-wwwh-g49x: Ech0 Scope Bypass: profile:read Access Token Can Change Admin Password and Escalate to Unrestricted Session

April 10, 2026

The PUT /user endpoint is protected by RequireScopes("profile:read"), which is a read-only scope. However, the endpoint performs write operations including password changes. An attacker who obtains an admin’s restricted profile:read access token can change the admin’s password, then login to receive an unrestricted session token that bypasses all scope enforcement.

References

  • github.com/advisories/GHSA-hm2h-wwwh-g49x
  • github.com/lin-snow/Ech0
  • github.com/lin-snow/Ech0/releases/tag/v4.4.3
  • github.com/lin-snow/Ech0/security/advisories/GHSA-hm2h-wwwh-g49x

Code Behaviors & Features

Detect and mitigate GHSA-hm2h-wwwh-g49x with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.4.3

Fixed versions

  • 4.4.3

Solution

Upgrade to version 4.4.3 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/lin-snow/ech0/GHSA-hm2h-wwwh-g49x.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:19:54 +0000.