@vendure/core is vulnerable to Broken Access Control
86
CVE Score
High
Broken Access Control
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.
Upgrade the @vendure/core library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
1.8.0 - 3.7.1
Fixed in 3.7.2@vendure/core is vulnerable to Broken Access Control in versions 1.8.0 - 3.7.1.
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.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.