/

CVE-2026-125075

Severity:

HIGH RISK

(7.3)

Missing Authentication (CWE-306) in Smart Attendance Admin

CVE-2026-125075

Deferred

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-287, CWE-306

Impact:

Unauthorized access to admin account creation functionality

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

Smart Attendance System with QR Code Scanner 1.0 has a missing authentication check in the admin account creation component. A remote attacker may be able to manipulate the e argument handled by getMessage in create_admin.php to reach functionality without authentication.

Affected context

The issue is reported in the Admin Account Creation component of SourceCodester Smart Attendance System with QR Code Scanner 1.0, specifically in the getMessage function in create_admin.php. It becomes risky when the affected functionality can be reached remotely without an effective authentication check.

Exploit preconditions

  • Attack surface: The remotely accessible admin account creation functionality
  • Required access: The description indicates that authentication may be bypassed; no prior authenticated access is specified
  • Trigger point: Handling of the e argument by getMessage in create_admin.php
  • Why exploitation is possible: The affected flow reportedly lacks an effective authentication requirement, allowing an unauthenticated request to reach protected functionality

Why this happens

The reported behavior is consistent with CWE-306: Missing Authentication for Critical Function. A sensitive account-creation operation is reachable without first requiring authentication; the related CWE-287: Improper Authentication classification reflects the broader authentication failure. The insecure pattern is relying on a request parameter or code path without consistently enforcing authentication at the protected operation.

Potential impact

  • An attacker may reach admin account creation functionality without authentication
  • Unauthorized administrative accounts could be created, depending on the affected flow
  • Resulting access could allow changes to attendance data or system settings
  • The application's integrity or confidentiality could be affected

General mitigation guidance

Common defensive patterns include:

  • Enforcing authentication and authorization on the server side for every sensitive operation
  • Applying access checks at the operation itself rather than relying on navigation or client-side controls
  • Treating request parameters as untrusted and never as proof of identity or authorization
  • Restricting account creation to authorized administrative roles and using least privilege
  • Providing secure-by-default account management that does not expose privileged creation to unauthenticated users

How teams detect issues like this

High-level review and monitoring approaches include:

  • Reviewing routes and handlers for account-creation actions that lack server-side authentication and authorization checks
  • Using static analysis or code review to trace request parameters into sensitive operations and verify access-control enforcement
  • Testing access-control policies to confirm protected actions are denied to unauthenticated users
  • Monitoring for unexpected account creation and enforcing policies that limit who can create privileged accounts

Sources

SourceLink
github.comgithub.com/yuechuya/sourcecodester-vuln-reports/blob/main/reports/VULN-02-Unauthenticated-Admin-Creation.md
vuldb.comvuldb.com/cve/CVE-2026-125075
vuldb.comvuldb.com/submit/1041013
vuldb.comvuldb.com/vuln/433179
vuldb.comvuldb.com/vuln/433179/cti
sourcecodester.comsourcecodester.com/

Frequently asked

questions

The report describes a remote attack path involving the admin account creation component.

The reported issue is missing authentication, so an authenticated account is not specified as a prerequisite. Actual exposure depends on whether the affected functionality is reachable in a deployment.

Require server-side authentication and authorization checks directly on every sensitive account-creation operation.

Review sensitive routes and handlers for consistent access checks, treat all request data as untrusted, and test that unauthenticated users cannot perform privileged actions.

Find out what's already
exploitable in your codebase.