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.
CVE-2026-141334
CVSS base score
6.6 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-269
Last modified
December 4, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H