# CVE-2026-141334: ValueMelody melody-auth through 1.3.8 Privilege Escalation via User Impersonation

- Severity: High 7.5 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-01T15:43:17.175Z
- Modified: 2026-12-01T23:17:42.293Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- ValueMelody melody-auth: up to 1.3.8

## Every score

- VulnCheck: CVSS:4.0 7.5 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 6.6 Medium `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/ValueMelody/melody-auth/issues/554> (issue-tracking)
- <https://github.com/ValueMelody/melody-auth/commit/cdb239fcbd4a9f95d8e80460d9b14871d6967c5b> (patch)
- <https://github.com/ValueMelody/melody-auth/blob/v1.3.8/server/src/handlers/user.ts#L429-L475> (technical-description)
- <https://www.vulncheck.com/advisories/valuemelody-melody-auth-through-1.3.8-privilege-escalation-via-user-impersonation> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-141334](https://www.cve.org/CVERecord?id=CVE-2026-141334), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-141334](https://nvd.nist.gov/vuln/detail/CVE-2026-141334), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-141334 · Whole record: https://cve.day/CVE-2026-141334.json · Rebuilt by cve.day 2026-12-01T23:32:17.089Z
