CVE Watchtower

CVE-2026-130175>= 8.7.0, Authorization Bypass Through User-Controlled Key

NVD

Vulnerability Summary

Summary An authorization regression introduced in v8.7.0 allows any active user with no company membership (empty `company_user` pivot) to pass the canonical FMCS instance-authorization gate `Company::isCurrentUserHasAccess()` for targets belonging to any other company, while identically-permissioned company-scoped users are correctly denied. This functionally resurrects GHSA-jqgw-vpjc-86fc (cross-company checkout-acceptance delete + reminder emails), because that fix delegates its decision to exactly this gate. Exploitable on default settings (FMCS on, `null_company_is_floater` = false). Details PR #19290 ("Rename company_id on users table", commit `115d1a4f5`, shipped in v8.7.0) migrated the scalar `users.company_id` column to `legacy_company_id` and removed a conjunct from `app/Models/Company.php::isCurrentUserHasAccess()` without re-evaluating it: Before (≤ v8.6.3, back-patch `3737b3491`): if (empty($userCompanyIds) && is_null(auth()->user()->company_id)) { return true; // true-legacy users only } After (v8.7.x): if (empty($userCompanyIds)) { return true; // unconditional } Meanwhile list scoping (`scopeCompanyablesDirectly`, same file) still treats empty-pivot actors as restricted when floater is OFF (`whereNull(company_id)`), violating the lockstep invariant added in `b78aedeec`. The gate is the project's canonical per-instance check (`SnipePermissionsPolicy::before()` → `Company::isCurrentUserHasAccess($item)`). `ReportsController::currentUserCanAccessAcceptance()` — the GHSA-jqgw fix commit `802067f` — resolves the acceptance's checkoutable with `withoutGlobalScopes()` and delegates to this gate, so the cross-company acceptance actions are exploitable again: - `DELETE /reports/unaccepted_assets/{id}/delete` - `POST /reports/unaccepted_assets/sent_reminder` PoC (verified end-to-end on v8.7.2, Docker, default config) Fixture: FMCS=1, floater=OFF; Companies A(id=1)/B(id=2); asset #1 belongs to B, checked out to B-user `victimB` (pending acceptance id=1); - attacker `floater1`: no pivot rows, permissions only `assets.view`, `assets.edit`, `reports.view` - control `scopedA`: identical permissions, pivot=[A] | Actor | Request | Result | |---|---|---| | scopedA | session login → `POST /reports/unaccepted_assets/1/delete` (+`_method=DELETE`, CSRF) | denied (`insufficient_permissions`) | | floater1 | same request | success → `checkout_acceptances.deleted_at` set (verified twice in DB) | `sent_reminder` shares the gate and is equally exposed. Happy to share the full Docker fixture/repro script. Impact CWE-639/CWE-863. Any user without company assignment (ordinary state: created w/o company when floater is OFF — allowed by `User::canGrantFloaterStatus()`; memberships clearable via edit/bulk-edit/importer; legacy migrated accounts) can cross Snipe-IT's tenant boundary with only routine granular permissions: destroy other companies' pending acceptances and trigger reminder emails to their users. Lists stay correctly scoped, so abuse is invisible in normal UI operation. Every current/future consumer of `isCurrentUserHasAccess()` on unscoped resolutions inherits the bypass. Suggested CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L (8.5) Suggested fix if (empty($userCompanyIds)) { if (Setting::getSettings()->null_company_is_floater) { return true; } return is_null($companyable->company_id); } + regression test: empty-pivot actor × floater OFF × companied target ⇒ deny (delete/remind). Fix Fixed in `397de5a5e8` ("Tighter scoping on reporting permissions"), matching the suggested-fix shape above. The empty-pivot branch of `Company::isCurrentUserHasAccess()` now routes through `null_company_is_floater` so per-target checks mirror `scopeCompanyablesDirectly()`'s own empty-pivot branches: floater on returns unrestricted (documented floater-actor behavior), floater off confines pivotless callers to null-company items only. Regression coverage lands alongside the fix in `tests/Feature/Fmcs/EmptyPivotAccessTest.php` (12 tests: strict FMCS blocks Asset/Accessory/Consumable/Component/License for empty-pivot callers on cross-company targets, strict still allows null-company items, floater allows cross-company items and null-company items, superuser bypass regression guard, non-empty-pivot actor stays correctly company-scoped).
Severity Level
HIGH(8.5)
Published Date
Nov 20, 2026
Last Modified
Nov 20, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The system does not prevent one user from accessing another user data or record by modifying the key value identifying the data.
CVSS v3.1 Base Metrics — Score 8.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityNone
IntegrityHigh
AvailabilityLow

Affected & Patched Versions

Affected Versions
  • >= 8.7.0, <= 8.7.2
Patched Versions
  • v8.8.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run >= 8.7.0, and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 20, 2026Published
  • Nov 20, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new >= 8.7.0, CVEsYou are reading CVE-2026-130175. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 23, 2026 02:01 UTC