Intel

AIKIDO-2026-893927

@vendure/core is vulnerable to Privilege Escalation

GHSA-v85r-wfgv-jcqcPublished Aug 7, 2026
August 7, 2026

99

CVE Score

Critical

Privilege Escalation

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.

How do I fix this?

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

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.

Versions

0.0.1 - 3.7.1

Fixed in 3.7.2

Background info

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

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea