/

CVE-2026-96603

Severity:

HIGH RISK

(7.3)

Missing Authorization (CWE-862) in Admin Handler Code

CVE-2026-96603

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862, CWE-863

Impact:

Authorization Bypass and Unauthorized Administrative Access

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

A missing authorization vulnerability in Abdurrab5 online-makeup-store affects the Admin Handler functions that process adminid. A remote attacker may manipulate this value to bypass intended authorization checks and perform administrative actions without sufficient permission.

Affected context

The issue occurs in the Admin Handler implementation within functions.php, specifically around the confirm_logged_in and confirm_user functions. It may affect deployments where remotely supplied identity or administrator identifiers are trusted without consistently verifying the associated user's privileges.

Exploit preconditions

  • Attack surface: Remotely reachable application functionality
  • Required access: Access to the relevant request or endpoint; successful exploitation may not require valid administrator privileges
  • Trigger point: Processing of the adminid argument by the Admin Handler
  • Why exploitation is possible: Authorization decisions may rely on a manipulable identifier without an independent server-side privilege check

Why this happens

The vulnerability reflects missing authorization enforcement, mapped primarily to CWE-862. The application appears to use a client-influenced administrative identifier when confirming access, rather than deriving identity from a trusted authenticated session and validating the requested operation against the user's effective privileges. This can allow authentication or identity checks to succeed without equivalent authorization checks. CWE-863 is also relevant where authorization may be incorrectly enforced for a particular function or resource.

Potential impact

  • An attacker may bypass intended administrative authorization
  • Unauthorized users could access restricted administrative functions
  • Account, configuration, or application data may be modified
  • Security controls or administrative workflows could be disrupted
  • The application could experience broader compromise depending on available admin capabilities

General mitigation guidance

Mitigation generally focuses on making authorization decisions server-side and independent of user-controlled identifiers.

Common defensive patterns include:

  • Deriving the acting user from a trusted, securely managed session or token
  • Enforcing explicit role and capability checks for every protected function
  • Verifying both authentication and authorization before processing administrative requests
  • Treating request parameters such as adminid as untrusted references rather than proof of privilege
  • Applying least privilege to administrative roles and service accounts
  • Using deny-by-default policies for protected endpoints and operations

How teams detect issues like this

Organizations can look for this class of issue through:

  • Static analysis rules identifying authorization decisions based directly on request parameters
  • Code review checks for protected functions lacking explicit server-side permission checks
  • Tests that attempt access with valid sessions but insufficient roles, altered identifiers, and unauthenticated requests
  • Web application policy monitoring for unexpected administrative actions or identifier changes
  • Automated security review tools that flag missing or inconsistent access-control enforcement

Sources

SourceLink
github.comgithub.com/yashkeral/cve-writeups/blob/main/online-makeup-store/03-broken-access-control.md
vuldb.comvuldb.com/cve/CVE-2026-96603
vuldb.comvuldb.com/submit/899001
vuldb.comvuldb.com/vuln/408969
vuldb.comvuldb.com/vuln/408969/cti

Frequently asked

questions

It may be remotely exploitable when the affected Admin Handler functionality is exposed through a reachable application endpoint and request-controlled values influence authorization decisions.

The specific access requirement depends on deployment and endpoint controls. The reported weakness indicates that valid administrator authorization may not be required if the relevant identifier can be manipulated.

Perform authorization checks on the server for every protected operation, using the privileges of the authenticated session rather than trusting adminid or similar request parameters.

Use centralized, deny-by-default access-control policies, test each administrative endpoint with insufficient privileges, and monitor for unauthorized administrative activity.

Find out what's already
exploitable in your codebase.