{"id":"CVE-2026-141334","summary":"ValueMelody melody-auth through 1.3.8 Privilege Escalation via User Impersonation","details":"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.","modified":"2026-12-01T17:00:20.294193791Z","published":"2026-12-01T15:43:17.175Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-269"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141334.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141334.json"},{"type":"PACKAGE","url":"https://github.com/ValueMelody/melody-auth"},{"type":"ARTICLE","url":"https://github.com/ValueMelody/melody-auth/blob/v1.3.8/server/src/handlers/user.ts#L429-L475"},{"type":"FIX","url":"https://github.com/ValueMelody/melody-auth/commit/cdb239fcbd4a9f95d8e80460d9b14871d6967c5b"},{"type":"REPORT","url":"https://github.com/ValueMelody/melody-auth/issues/554"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141334"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/valuemelody-melody-auth-through-1.3.8-privilege-escalation-via-user-impersonation"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/valuemelody/melody-auth","events":[{"introduced":"0"},{"last_affected":"9fd558c18d1c7c3510dda7fd9b10d674444511e7"},{"fixed":"cdb239fcbd4a9f95d8e80460d9b14871d6967c5b"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"1.3.8"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"cdb239fcbd4a9f95d8e80460d9b14871d6967c5b"}]}]}}],"versions":["v1.3.8","v1.3.7","v1.3.6","v1.3.5","v1.3.4","v1.3.3","v1.3.2","v1.3.1","v1.3.0","v1.2.9","v1.2.8","v1.2.7","v1.2.6","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.9","v1.1.8","v1.1.7","v1.1.6","v1.1.5","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.8","v1.0.7","v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2","v1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141334.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}