/

CVE-2026-79751

Severity:

HIGH RISK

(7.6)

Authorization Bypass (CWE-639) in SportEase Profiles

CVE-2026-79751

Received

Vulnerability type

Category:

Broken Access Control

CWE:

CWE-269, CWE-284, CWE-639

Impact:

Unauthorized class-level access and persistent privilege assignment

Severity:

HIGH RISK

(7.6)

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

During first profile completion, an authenticated SportEase user can supply a class ID without the application checking that the user belongs to that class. The application may grant the user that class's representative role, exposing roster information and allowing changes to competition-team assignments for the selected class.

Affected context

The issue affects profile completion in SportEase when an authenticated account has is_profile_complete=false and submits a class ID to PUT /api/user/profile for a class in the active event. AuthHandler.UpdateProfile accepts the selected class without verifying legitimate membership and assigns the corresponding representative role during first completion. Downstream handlers limit access to that selected class, but the granted role cannot be revoked through the exposed API.

Exploit preconditions

  • Attack surface: The profile update API for the active event
  • Required access: An authenticated account with an incomplete profile
  • Trigger point: First profile completion through PUT /api/user/profile
  • Why exploitation is possible: The submitted class ID is not checked against the user's legitimate class membership before the corresponding representative role is assigned

Why this happens

The profile update flow treats a client-supplied class identifier as sufficient authority to assign a class-specific representative role. This is an authorization flaw involving a user-controlled key, mapping to CWE-639: Authorization Bypass Through User-Controlled Key. The role assignment also reflects improper privilege management: the application grants a privilege without verifying that the user is entitled to it.

Potential impact

  • The user may view roster information, including email addresses, for the selected class.
  • The user could add or remove competition-team assignments for that class.
  • The representative privilege may persist because it cannot be revoked through the exposed API.
  • The impact is bounded to the selected class by downstream access checks.

General mitigation guidance

Defensive patterns include deriving class membership from trusted server-side records rather than accepting it from profile input, and authorizing every role assignment against the user's verified membership. Treat client-provided identifiers as references, not proof of permission, and apply least privilege when assigning representative roles. Provide a supported mechanism to revoke or correct role assignments, with auditability for privilege changes.

How teams detect issues like this

Review profile-completion code for role assignments based directly on client-supplied identifiers, especially where membership checks are absent or occur after privilege changes. Test authorization policies to confirm users can only select classes they are legitimately assigned to, and that role changes are recorded and revocable. Static analysis and policy checks can flag user-controlled identifiers flowing into authorization or role-assignment logic.

Sources

SourceLink
github.comgithub.com/snct-SportEase/web/commit/7cda90c9100c4d248e355a5c9bad553807a03e3a
github.comgithub.com/snct-SportEase/web/commit/98884d8c05f1994f8672db0cfc7cd9d8b5459fe1
github.comgithub.com/snct-SportEase/web/releases/tag/v1.3
github.comgithub.com/snct-SportEase/web/security/advisories/GHSA-wfpc-5cqg-3x6c

Frequently asked

questions

An authenticated user whose profile is incomplete may be able to select a class in the active event during first profile completion.

The resulting representative access is limited to the selected class. It may expose roster details, including email addresses, and allow changes to that class's competition-team assignments.

Verify class membership using trusted server-side data before accepting the class or assigning a representative role.

Treat user-supplied identifiers as untrusted, enforce authorization at each privilege-changing operation, and ensure role assignments can be audited and revoked.

Find out what's already
exploitable in your codebase.