Skip to main content
Vulnerability Database/CVE-2026-112286

CVE-2026-112286: Krayin CRM Auth Bypass Vulnerability

CVE-2026-112286 is an authentication bypass flaw in Krayin CRM that allows authenticated users to access other users' quote data through insecure direct object references. This article covers technical details, affected versions, impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-112286 Overview

CVE-2026-112286 is an insecure direct object reference (IDOR) vulnerability in Krayin CRM before version 2.2.7. The flaw resides in QuoteController and allows scope-restricted authenticated users to read other users' quotes by bypassing per-user data scope checks. Attackers can query the quotes search and lead-products endpoints to retrieve quote addresses, totals, contact details, and product pricing belonging to any user or lead. The weakness is classified under [CWE-639] (Authorization Bypass Through User-Controlled Key).

Critical Impact

Any authenticated user with quote access can enumerate quotes belonging to other users, exposing billing and shipping addresses, financial totals, linked contact details, and product pricing across the tenant.

Affected Products

  • Krayin Laravel CRM versions prior to 2.2.7
  • Webkul/Admin package containing the vulnerable QuoteController
  • Deployments relying on bouncer-based per-user data scoping for quotes

Discovery Timeline

  • 2026-10-19 - CVE-2026-112286 published to NVD
  • 2026-10-19 - Last updated in NVD database
  • Fixed in release - Patched in Krayin Laravel CRM v2.2.7 via pull request #2683 and commit 64b9125

Technical Details for CVE-2026-112286

Vulnerability Analysis

The vulnerability lives in the search() method of QuoteController within the Webkul/Admin package. The controller applies RequestCriteria filters and returns results through QuoteResource::collection(), but it does not restrict the query to quotes owned by the acting user. The listing view and data grid already applied per-user scoping through the application's bouncer authorization layer. The search endpoint and the related lead-products endpoint omitted that scoping entirely.

As a result, any authenticated user that holds the generic quote access permission can query the search endpoint and receive every quote in the system. Returned fields include subject, description, billing and shipping address, totals, and the linked person's contact details. The lead-products endpoint exposes product pricing associated with other users' leads in the same manner.

Root Cause

The root cause is a missing authorization check tied to a user-controlled identifier [CWE-639]. The controller trusted repository filtering alone and never intersected results with the set of user IDs the actor is authorized to view. Scope enforcement existed elsewhere in the application but was absent from this API path.

Attack Vector

Exploitation requires valid credentials and network access to the Krayin admin API. An attacker calls the quotes search endpoint, optionally supplying filter parameters, and receives serialized quote records belonging to other users. The same technique applies to the lead-products endpoint. No elevated role is required beyond the standard quote access permission.

php
     */
    public function search(): AnonymousResourceCollection
    {
-        $quotes = $this->quoteRepository
-            ->pushCriteria(app(RequestCriteria::class))
-            ->all();
+        $quoteRepository = $this->quoteRepository
+            ->pushCriteria(app(RequestCriteria::class));
+
+        /**
+         * Scope the result to the acting user's data scope, the same way the listing and the data
+         * grid already are. Without it this endpoint returned every quote — subject, description,
+         * billing and shipping address, totals, and the linked person's contact details — to any
+         * user with quote access, regardless of who owned the record.
+         */
+        if ($userIds = bouncer()->getAuthorizedUserIds()) {
+            $quotes = $quoteRepository->findWhereIn('user_id', $userIds);
+        } else {
+            $quotes = $quoteRepository->all();
+        }

        return QuoteResource::collection($quotes);
    }

Source: Krayin Laravel CRM Commit 64b9125. The patch introduces a call to bouncer()->getAuthorizedUserIds() and restricts quote retrieval to the acting user's data scope.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-112286

Indicators of Compromise

  • Unusually high volumes of GET requests from a single authenticated session to the quotes search or lead-products endpoints.
  • Repeated API calls with iterating filter parameters or empty filters returning large result sets.
  • Access patterns where a low-privilege user retrieves quotes linked to leads or persons they never created or modified.

Detection Strategies

  • Audit Laravel application logs for /admin/quotes/search and lead-products endpoint calls, correlating response sizes to the acting user's actual quote ownership.
  • Compare the user_id of returned quote records to the authenticated session's user identity; mismatches indicate exploitation attempts prior to patching.
  • Review database query logs for quotes table reads not filtered by user_id originating from the admin API.

Monitoring Recommendations

  • Enable verbose HTTP access logging on the Krayin admin interface and ship logs to a central analytics platform.
  • Alert on spikes in API response payload size for quote-related endpoints relative to a per-user baseline.
  • Track authentication events alongside API usage to identify compromised or over-privileged accounts.

How to Mitigate CVE-2026-112286

Immediate Actions Required

  • Upgrade Krayin Laravel CRM to v2.2.7 or later, which contains the fix in QuoteController.
  • Review role assignments and remove the quote access permission from users who do not require it.
  • Rotate credentials and reset sessions for accounts suspected of enumerating quotes.

Patch Information

The fix is delivered in Krayin Laravel CRM Release v2.2.7 through Pull Request #2683 and commit 64b9125. The patch wraps the repository query with bouncer()->getAuthorizedUserIds() to enforce the same per-user scope already applied to the listing view and data grid. Full technical context is published in the VulnCheck Advisory for Krayin CRM.

Workarounds

  • If an immediate upgrade is not possible, restrict access to the admin quote and lead-products endpoints at the web server or reverse proxy layer to trusted administrators only.
  • Apply the upstream QuoteController diff from commit 64b9125 as a local patch on the v2.2.6 tree and redeploy.
  • Audit and prune the quotes user permission set so that non-administrative roles cannot reach the vulnerable endpoints.
bash
# Upgrade Krayin Laravel CRM to the patched release
composer require krayin/laravel-crm:^2.2.7
php artisan migrate
php artisan config:clear
php artisan cache:clear

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.