@vendure/core is vulnerable to Broken Access Control
86
High Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
@vendure/core is vulnerable to Broken Access Control in versions 1.8.0 - 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