Skip to content
Access control Write-up Intermediate

CVE-2026–48493: Privilege Escalation via Permission Bypass in S

The user update API endpoint only stripped superuser and admin flags from submitted permissions, so an authenticated user with users.edit could grant themselves any other module-level permissions. This allowed near-full system access, including deleting assets, reading licence keys, and managing users, without administrator approval.

Ali İltizar Follow

Published on medium.com

CVE-2026–48493 affects Snipe-IT versions below 8.6.0. The user update API endpoint (PATCH /api/v1/users/{id}) does not sufficiently validate the permissions payload submitted by authenticated users.

Ali İltizar, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could read and delete the entire hardware inventory, access confidential licence keys, manage users, and view audit logs, though superuser and admin status remained inaccessible.

What the attacker needed

Authenticated user with users.edit and self.api

The fix

The fix enforces a permission ceiling so a user can only grant permissions they already hold, and anything else is silently stripped; updating to v8.6.0 or later is recommended.

How it was found

  1. As an administrator, create a user with only users.edit and self.api permissions.
  2. Log in as that low-privilege user and generate a JWT API token.
  3. Find your own user ID by decoding the middle part of the JWT token.
  4. Send a PATCH request to /api/v1/users/{id} with a permissions payload granting additional permissions.
  5. Observe a 200 OK response and verify the escalated access.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Snipe-IT is a system for tracking hardware and software. A user with a small permission to edit users could send a request that gave themselves many more permissions, like deleting assets or reading licence keys. The software only blocked two very powerful permissions but forgot to check the rest.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Ali İltizar

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.