GHSA-492c-h2h4-7j5cHighCVSS 6.6
ValueMelody melody-auth through 1.3.8 contains a privilege escalation vulnerability in...
🔗 CVE IDs covered (1)
📋 Description
ValueMelody melody-auth through 1.3.8 contains a privilege escalation vulnerability in impersonateUser that allows users with a limited impersonation role to impersonate super_admin accounts. When S2sConfig.impersonationRoles includes a role such as support, attackers can obtain refresh tokens carrying the target's full roles, gaining super_admin control over the authorization server and relying applications.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-141334
- https://github.com/ValueMelody/melody-auth/issues/554
- https://github.com/ValueMelody/melody-auth/commit/cdb239fcbd4a9f95d8e80460d9b14871d6967c5b
- https://github.com/ValueMelody/melody-auth/blob/v1.3.8/server/src/handlers/user.ts#L429-L475
- https://www.vulncheck.com/advisories/valuemelody-melody-auth-through-1.3.8-privilege-escalation-via-user-impersonation
- https://github.com/advisories/GHSA-492c-h2h4-7j5c