🛡️ CVE-2026-49976 — snipe-it

⚪ Unknown ✅ No Known Exploit CWE-862 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Snipe-IT Vulnerable to User Account Escalation via CSV Import

Impact

The CSV user import in update mode bypasses user-edit authorization. A user with only the import permission can overwrite any non-admin user's email by uploading a CSV, then trigger a password reset to take over the account.

UserImporter.php checks the canEditAuthFields gate and tries to strip auth fields from the model:

```php

// app/Importer/UserImporter.php:107-114

if (Auth::check() && (! Gate::allows('canEditAuthFields', $user))) {

unset($user->username);

unset($user->email);

unset($user->password);

unset($user->activated);

}

$user->update($this->sanitizeItemForUpdating($user));

```

The unset()s operate on the model, but sanitizeItemForUpdating() rebuilds its array from $this->item (the raw CSV row), not from the model:

```php

// app/Importer/ItemImporter.php:135-149

protected function sanitizeItemForStoring($model, $updating = false)

{

$item = collect($this->item); // CSV data, not model attributes

$item = $item->only($model->getFillable());

if ($updating) {

$item = $item->reject(fn($v) => empty($v));

}

return $item->toArray();

}

```

The attacker's CSV values pass through untouched.

For non-admin attacker vs. non-admin, non-superuser target, the gate returns true at AuthServiceProvider.php:137, so the unset() block never executes. The entire import path checks only $this->authorize('import') (ImportController.php:196); no users.edit check anywhere. The normal API route PATCH /api/v1/users/{id} correctly returns 403 for the same user.

Attacker must have import privileges to exploit this, and that permission must be granted specifically and intentionally by a superadmin.

Patches

Patched in v8.6.0

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs administrative privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability none.

Weakness class

CVE-2026-49976 is classified as CWE-862: Missing Authorization. No authorisation check is performed before carrying out a restricted action.

Affected software

CVE-2026-49976 is recorded against 1 package.

  • snipe/snipe-it (fixed in 8.6.0)

Timeline and source

Published on 23 June 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
github.com (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
CWE CWE-862
Public Exploit ✅ No
Source OSV
Published 2026-06-23
Updated 2026-08-12
Modified 2026-06-23
Fix URL N/A

Affected Packages

Software From version Fixed in
snipe/snipe-it 8.6.0

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2026-49976?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2026-49976 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.