GHSA-8wgc-jjvv-cv6v
HIGHImproper Authorization in loopback
Vulnerable versions of loopback may allow attackers to create Authentication Tokens on behalf of other users due to Improper Authorization. If the AccessToken model is publicly exposed, an attacker can create Authorization Tokens for any user as long as they know the target's userId. This will allow the attacker to access the user's data and their privileges.
Recommendation
For loopback 2.x, upgrade to version 2.40.0 or later
For loopback 3.x, upgrade to version 3.22.0 or later
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | loopback | < 2.40.0 | 2.40.0 |
| OSV | npm | loopback | >= 3.0.0, < 3.22.0 | 3.22.0 |
References
- https://github.com/strongloop/loopback · PACKAGE
- https://loopback.io/doc/en/lb2/Security-advisory-08-08-2018.html] · WEB
- https://loopback.io/doc/en/lb3/Security-advisory-08-08-2018.html] · WEB
- https://www.npmjs.com/advisories/771 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Sep 2020)