CVE-2026-59240

The vulnerability involves an Insecure Direct Object Reference (IDOR) in the `DeleteNotificationController::delete()` method at endpoint `GET /notification/delete/{id}`. The flaw allows any authenticated user, regardless of company or permissions, to delete notifications belonging to any other user in the system. The controller retrieves the target record with `Notification::findOrFail($id)` and deletes it without validating `user_id` or `company_id` ownership, unlike the sibling `SetNotificationReadAjaxController`, which correctly scopes lookups by `Auth::id()`. Because notification identifiers are sequential, an attacker can iterate over IDs to systematically delete notifications belonging to any user, denying them visibility of ticket alerts, task assignments, and other system events.
CVSS

No CVSS.

Configurations

No configuration.

History

24 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) La vulnerabilidad implica una Referencia Directa Insegura a Objeto (IDOR) en el método “DeleteNotificationController::delete()” en el endpoint “GET /notification/delete/{id}”. La falla permite a cualquier usuario autenticado, independientemente de la empresa o los permisos, eliminar notificaciones pertenecientes a cualquier otro usuario en el sistema. El controlador recupera el registro objetivo con “Notification::findOrFail($id)” y lo elimina sin validar la propiedad de “user_id” o “company_id”, a diferencia del controlador hermano “SetNotificationReadAjaxController”, que correctamente limita las búsquedas por “Auth::id()”. Debido a que los identificadores de notificación son secuenciales, un atacante puede iterar sobre los IDs para eliminar sistemáticamente notificaciones pertenecientes a cualquier usuario, negándoles la visibilidad de alertas de tickets, asignaciones de tareas y otros eventos del sistema.

Information

Published : 2026-07-27 22:17

Updated : 2026-10-24 13:10


NVD link : CVE-2026-59240

Mitre link : CVE-2026-59240

CVE.ORG link : CVE-2026-59240


JSON object : View

Products Affected

No product.

CWE
CWE-639

Authorization Bypass Through User-Controlled Key