@vendure/core is vulnerable to Insecure Direct Object Reference (IDOR)
50
CVE Score
Medium
Insecure Direct Object Reference (IDOR)
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.
Upgrade the @vendure/core library to the patch version.
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.
1.0.0 - 3.7.1
Fixed in 3.7.2@vendure/core is vulnerable to Insecure Direct Object Reference (IDOR) in versions 1.0.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.