@vendure/core is vulnerable to Privilege Escalation
99
CVE Score
Critical
Privilege Escalation
In AdministratorService.update, backing the Admin API updateAdministrator mutation, the role-grant guard and the sole-SuperAdmin guard are applied only inside the roleIds branch. A caller holding just the delegated UpdateAdministrator permission can send a password-only or emailAddress-only payload that skips those guards and overwrites any administrator's credentials, including the SuperAdmin's. Because Administrator records are not channel-aware the target resolves globally, so a low-privilege admin can reset the SuperAdmin password and log in for full instance takeover. The fix gates the password and email branches so the caller must hold all of the target's permissions on all of the target's channels.
Upgrade the @vendure/core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you have granted the UpdateAdministrator permission to a non-SuperAdmin administrator role.
0.0.1 - 3.7.1
Fixed in 3.7.2@vendure/core is vulnerable to Privilege Escalation in versions 0.0.1 - 3.7.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.