cvelo
P3 · MediumCVSS 5.4

Snipe-IT 4.2.0 through 8.6.3 Permission Bypass via OAuth

  • CVE-2026-86755
  • GHSA-h56w-fxvx-4r52
  • EUVD-2026-74932

Description

Snipe-IT versions 4.2.0 through 8.6.3 expose Laravel Passport's auto-registered personal-access-token routes (GET, POST, DELETE /oauth/personal-access-tokens*) with only 'web' and 'auth:web' middleware, without the self.api permission gate that Snipe-IT enforces on its own token endpoints (/account/api and /api/v1/account/personal-access-tokens). Any user with a valid web session and the corresponding CSRF token can POST to /oauth/personal-access-tokens and mint a long-lived bearer token for their own account, even when an administrator has denied the self.api permission. The issued token is still subject to existing per-endpoint authorization policies, so this is not a privilege escalation; it defeats the administrative control intended to block API/scripted access at the user's own permission level. Fixed in 8.7.0 (commit 3f74b8c), which registers overriding routes wrapped in the can:self.api middleware.

Text from the CVE.org record.

Affected

  • snipeitapp snipe-it

    • from 4.2.0 to before 8.7.0

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.