{"id":"CVE-2026-141334","aliases":["EUVD-2026-140316","GHSA-492c-h2h4-7j5c"],"status":"published","title":"ValueMelody melody-auth through 1.3.8 Privilege Escalation via User Impersonation","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.","severity":{"version":"4.0","score":7.5,"vector":"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","level":"high","assessor":"cna","from":"cve","others":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":7.5,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00783,"percentile":0.57364,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-269"],"published":"2026-12-01T15:43:17Z","modified":"2026-12-04T16:38:28Z","products":[{"vendor":"valuemelody","product":"melody-auth"}],"references":[{"url":"https://github.com/ValueMelody/melody-auth/issues/554","tags":["issue-tracking","report"]},{"url":"https://github.com/ValueMelody/melody-auth/commit/cdb239fcbd4a9f95d8e80460d9b14871d6967c5b","tags":["patch","fix"]},{"url":"https://github.com/ValueMelody/melody-auth/blob/v1.3.8/server/src/handlers/user.ts#L429-L475","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/valuemelody-melody-auth-through-1.3.8-privilege-escalation-via-user-impersonation","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141334","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-492c-h2h4-7j5c"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141334.json","tags":["advisory"]},{"url":"https://github.com/ValueMelody/melody-auth","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-141334","title":"ValueMelody melody-auth through 1.3.8 Privilege Escalation via User Impersonation","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.","status":"published","published":"2026-12-01T15:43:17.175Z","modified":"2026-12-01T22:12:17.012Z","cvss":[{"version":"4.0","score":7.5,"vector":"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","level":"high","assessor":"cna"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-269"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-01"},"updated_at":"2026-12-01T22:18:46.736778Z"}],"euvd":[{"id":"EUVD-2026-140316","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.","status":"published","published":"2026-12-01T15:43:17Z","modified":"2026-12-01T22:12:17Z","cvss":[{"version":"4.0","score":7.5,"vector":"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","level":"high"}],"updated_at":"2026-12-01T21:20:38.064884Z"}],"ghsa":[{"id":"GHSA-492c-h2h4-7j5c","title":"ValueMelody melody-auth through 1.3.8 contains a privilege escalation vulnerability in...","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.","status":"published","published":"2026-12-01T18:31:49Z","modified":"2026-12-01T18:31:50Z","cvss":[{"version":"4.0","score":7.5,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium"}],"cwes":["CWE-269"],"updated_at":"2026-12-01T19:00:43.861074Z"}],"nvd":[{"id":"CVE-2026-141334","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.","status":"published","published":"2026-12-01T16:18:26.583Z","modified":"2026-12-04T16:38:28.523Z","cvss":[{"version":"4.0","score":7.5,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"medium","assessor":"secondary"}],"cwes":["CWE-269"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","date":"2026-12-01"},"updated_at":"2026-12-01T23:25:12.236518Z"}],"osv":[{"id":"CVE-2026-141334","title":"ValueMelody melody-auth through 1.3.8 Privilege Escalation via User Impersonation","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.","status":"published","published":"2026-12-01T15:43:17.175Z","modified":"2026-12-02T21:01:42.877529292Z","cvss":[{"version":"4.0","score":7.5,"vector":"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","level":"high"}],"cwes":["CWE-269"],"updated_at":"2026-12-02T21:28:42.350468Z"}]}}
