8.2high
Crater - Missing Tenant-Ownership Check in CustomerPolicy Allows Cross-Company Customer Data Theft and Deletion
- Severity
- 8.2high CVSS:3.1 by TuranSec
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
Description
Crater isolates data per company_id, and its Invoice/Estimate/Payment/Expense policies enforce both a Bouncer ability check and ->hasCompany(->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 with no company filter).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| crater-invoice Crater | 6.0.6 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
Crater isolates data per company_id, and its Invoice/Estimate/Payment/Expense policies enforce both a Bouncer ability check and ->hasCompany(->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 with no company filter).
NVD (es)
Crater aísla los datos por company_id, y sus políticas de Factura/Estimación/Pago/Gasto aplican tanto una verificación de habilidad de Bouncer como $user -mayor que hasCompany($model -mayor que company_id). Los métodos view/update/delete de CustomerPolicy omiten por completo la verificación de propiedad de la empresa, verificando solo la habilidad general. Las búsquedas de clientes vinculadas a modelos de ruta y el método masivo Customer::deleteCustomers() están igualmente sin alcance (self::find($id) sin filtro de empresa). Cualquier usuario autenticado de una empresa puede leer, reasignar (robar) o eliminar los registros de clientes de otra empresa, con la eliminación en cascada a las facturas y pagos de ese cliente.
References
| https://github.com/crater-invoice/crater | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-55739 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-55739 changed 2026-10-24 | Public domain |