GHSA-j2xj-x8wc-f6xgHighCVSS 8.3
Crater isolates data per company_id, and its Invoice/Estimate/Payment/Expense policies enforce...
🔗 CVE IDs covered (1)
📋 Description
Crater isolates data per company_id, and its Invoice/Estimate/Payment/Expense policies enforce both a Bouncer ability check and $user->hasCompany($model->company_id). CustomerPolicy's view/update/delete methods omit the company-ownership check entirely, checking only the blanket ability. Route-model-bound customer lookups and the bulk Customer::deleteCustomers() method are similarly unscoped (self::find($id) with no company filter). Any authenticated user of one company can read, reassign (steal), or delete another company's customer records, with deletion cascading to that customer's invoices and payments.