CVE-2026-49976: Snipe/snipe it Snipe-IT Vulnerable To User Account Vulnerability
MODERATECVE-2026-49976 is a MODERATE (CVSS 6.5) snipe-it vulnerable to user account vulnerability (CWE-862: Missing Authorization) affecting Snipe/snipe it libraries in the Packagist ecosystem. The issue involves snipe-it vulnerable to user account escalation via csv import. Remediation is available by upgrading affected packages to version 8.6.0.
CVE-2026-49976 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-49976
To remediate this vulnerability, upgrade all affected Snipe/snipe it dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade snipe/snipe-it to 8.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for snipe/snipe-it
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-49976, inspect your project dependencies for Snipe/snipe it:
inspect dependencies for snipe/snipe-it
Analyze the terminal output to locate any version of Snipe/snipe it in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.6.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Snipe/snipe it, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-49976 Affected Snipe/snipe it Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
snipe/snipe-it
|
Packagist |
< 8.6.0
|
8.6.0
|
References
Frequently Asked Questions
What is CVE-2026-49976?
Which Snipe/snipe it versions are affected?
What version fixes CVE-2026-49976?
Is snipe/snipe-it affected?
What is the CVSS score of CVE-2026-49976?
What CWE is associated with CVE-2026-49976?
How can I check Packagist dependencies for CVE-2026-49976?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p68w-rgmg-3c2v",
"modified" : "2026-06-23T23:02:03Z",
"published" : "2026-06-23T23:02:03Z",
"aliases" : [ "CVE-2026-49976" ],
"summary" : "Snipe-IT Vulnerable to User Account Escalation via CSV Import",
"details" : "### Impact\nThe 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.\n\n`UserImporter.php` checks the `canEditAuthFields` gate and tries to strip auth fields from the model:\n\n```php\n// app/Importer/UserImporter.php:107-114\nif (Auth::check() && (! Gate::allows('canEditAuthFields', $user))) {\n unset($user->username);\n unset($user->email);\n unset($user->password);\n unset($user->activated);\n}\n$user->update($this->sanitizeItemForUpdating($user));\n```\n\nThe `unset()`s operate on the model, but `sanitizeItemForUpdating()` rebuilds its array from `$this->item` (the raw CSV row), not from the model:\n\n```php\n// app/Importer/ItemImporter.php:135-149\nprotected function sanitizeItemForStoring($model, $updating = false)\n{\n $item = collect($this->item); // CSV data, not model attributes\n $item = $item->only($model->getFillable());\n if ($updating) {\n $item = $item->reject(fn($v) => empty($v));\n }\n return $item->toArray();\n}\n```\n\nThe attacker's CSV values pass through untouched.\n\nFor 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. \n\nAttacker must have import privileges to exploit this, and that permission must be granted specifically and intentionally by a superadmin.\n\n\n### Patches\nPatched in v8.6.0",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "snipe/snipe-it"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "8.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/grokability/snipe-it/security/advisories/GHSA-p68w-rgmg-3c2v"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/grokability/snipe-it"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-23T23:02:03Z",
"nvd_published_at" : null
}
}