/

CVE-2026-100885

Severity:

HIGH RISK

(7.3)

Authorization Bypass (CWE-285) in Krayin Admin Setup

CVE-2026-100885

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-285, CWE-639

Impact:

Unauthorized Access and Administrative Configuration Changes

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Krayin laravel-crm contains an authorization bypass in the admin configuration setup endpoint. A remote attacker may be able to access or perform protected setup actions when the affected authorization control is reached, particularly where the endpoint is exposed and access checks are insufficient.

Affected context

The vulnerability occurs in the installer middleware associated with the admin-config-setup API endpoint, within packages/Webkul/Installer/src/Http/Middleware/CanInstall.php. Deployments may be exposed when this setup functionality remains reachable over the network and the middleware does not correctly enforce the intended authorization or installation-state restrictions.

Exploit preconditions

  • Attack surface: Remotely reachable admin configuration or setup API endpoint
  • Required access: No specific authenticated access is established by the available description; the effective requirement depends on deployment routing and endpoint exposure
  • Trigger point: A request processed by the installer authorization middleware
  • Why exploitation is possible: The endpoint may accept requests without correctly enforcing the authorization conditions intended to restrict setup operations

Why this happens

The underlying issue is an insufficient authorization check in middleware that protects an administrative setup function. This maps primarily to CWE-285: Improper Authorization, because the application may fail to verify whether a requester is permitted to perform the requested operation. It is also related to CWE-639: Authorization Bypass Through User-Controlled Key, where attacker-influenced request context or identifiers can contribute to an authorization decision that is not properly bound to the requesting user's privileges.

Potential impact

  • An unauthenticated or low-privilege remote user could potentially access protected setup functionality
  • Attackers may modify administrative or application configuration
  • The application could be placed into an insecure or unusable state
  • Unauthorized configuration changes could support further compromise or data exposure

General mitigation guidance

Mitigation generally focuses on enforcing authorization at the server-side operation boundary rather than relying on client behavior or route visibility.

Common defensive patterns include:

  • Require explicit authentication and least-privilege authorization for setup and administrative endpoints
  • Enforce installation-state and administrative-role checks consistently in middleware and handlers
  • Bind authorization decisions to the authenticated principal rather than user-controlled identifiers or request parameters
  • Deny access by default when authorization context is missing, ambiguous, or invalid
  • Restrict network exposure of installer and administrative routes, including after initial deployment
  • Apply the vendor-provided remediated release or equivalent patch through the normal change-management process
  • Log and review sensitive setup actions, including denied and anomalous requests

How teams detect issues like this

High-level detection can combine source review, runtime monitoring, and policy enforcement:

  • Use static analysis to identify administrative routes whose middleware does not perform explicit authentication and authorization checks
  • Review code paths for authorization decisions based on request-controlled identifiers, headers, or parameters
  • Confirm that setup endpoints deny access after installation and require the intended administrative role
  • Add integration tests covering anonymous, low-privilege, and authorized requests for every setup operation
  • Monitor web logs for unexpected access to installer routes, repeated authorization failures, and configuration changes from untrusted networks
  • Enforce CI or API security policies requiring documented authorization controls for administrative endpoints

Sources

SourceLink
github.comgithub.com/carlosalbertotuma/advisory/blob/main/advisory-07-Unauthenticated-InstallerBypass.md
github.comgithub.com/krayin/laravel-crm/
github.comgithub.com/krayin/laravel-crm/commit/89f2916b6a46ff91bd1999ce38158fa0de8b9490
github.comgithub.com/krayin/laravel-crm/pull/2614
github.comgithub.com/krayin/laravel-crm/releases/tag/v2.2.5
vuldb.comvuldb.com/cve/CVE-2026-100885
vuldb.comvuldb.com/submit/916597
vuldb.comvuldb.com/vuln/410815
vuldb.comvuldb.com/vuln/410815/cti

Frequently asked

questions

Yes, the advisory indicates that the affected endpoint can be attacked remotely. Practical exploitability depends on whether the endpoint is exposed and how deployment routing and access controls are configured.

The available description does not establish a required authentication level. The key issue is whether the endpoint incorrectly permits a requester to bypass the intended authorization requirements.

Enforce authentication, installation-state checks, and role-based authorization on the server for every setup operation, while applying the vendor-supported remediated code.

Keep installer functionality inaccessible after deployment, test administrative routes with multiple privilege levels, avoid authorization decisions based on user-controlled values, and monitor sensitive configuration changes.

Find out what's already
exploitable in your codebase.