@vendure/core is vulnerable to Privilege Escalation
99
Critical Risk
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.
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.
@vendure/core is vulnerable to Privilege Escalation in versions 0.0.1 - 3.7.1.
Upgrade the @vendure/core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant