Intel

AIKIDO-2026-723703

@vendure/core is vulnerable to Broken Access Control

Broken Access ControlGHSA-hc75-2v4j-x372 Published Today

86

High Risk

This Affects:

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

TL;DR

The Admin API adjustDraftOrderLine mutation is decorated with Permission.Owner, a permissive permission that the auth guard grants to any request lacking the other required permission, even creating an anonymous session when none is present. As a result the admin-only mutation is reachable without authentication, and the order is resolved from the caller-supplied orderId with no ownership check. An unauthenticated caller can change line quantities and custom fields on in-progress orders they do not own, and order and line ids are small sequential integers that are trivially enumerable. The fix removes Permission.Owner so the mutation requires a genuine admin permission, matching its sibling draft-order mutations.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@vendure/core is vulnerable to Broken Access Control in versions 1.8.0 - 3.7.1.

How to fix this

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