@vendure/core is vulnerable to Insecure Direct Object Reference (IDOR)
50
Medium Risk
The Admin API AssetService.update and StockLocationService.update methods fetch a channel-aware entity by its raw id without scoping the lookup to the caller's active channel, unlike every sibling read, update, and delete path. A channel-restricted administrator can modify assets and stock locations belonging to other channels by supplying the target entity's sequential id. The write commits even though a trailing channel-scoped read fails, producing a blind cross-channel write that breaks tenant isolation. The fix passes the active channel id to both lookups so entities belonging only to another channel are rejected.
You are affected if you are using a version that falls within the vulnerable range and you run a multi-channel deployment where channel-restricted administrators can update assets or stock locations.
@vendure/core is vulnerable to Insecure Direct Object Reference (IDOR) in versions 1.0.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