Intel

AIKIDO-2026-893927

@vendure/core is vulnerable to Privilege Escalation

Privilege EscalationGHSA-v85r-wfgv-jcqc Published Today

99

Critical Risk

This Affects:

JS@vendure/core
0.0.1 - 3.7.1
Fixed in 3.7.2
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

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.

Background info

@vendure/core is vulnerable to Privilege Escalation in versions 0.0.1 - 3.7.1.

How to fix this

Upgrade the @vendure/core library to the patch version.