/

CVE-2026-90787

Severity:

HIGH RISK

(7.3)

Improper Privilege Management (CWE-269) in Soarkey

CVE-2026-90787

Deferred

Vulnerability type

Category:

Improper Privilege Management

CWE:

CWE-266, CWE-269

Impact:

Unauthorized Privilege Assignment

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 remotely reachable privilege-management weakness in Soarkey StudentManagement affects the registration workflow when the level argument is processed by RegisterServlet.doPost.

If an attacker can submit or alter registration parameters without adequate authorization checks, they may obtain privileges beyond those intended for a newly registered account.

Affected context

The issue occurs in the StudentManagement registration workflow, specifically where RegisterServlet.doPost handles the level argument from registration requests. Risk is present when client-supplied privilege or account-level values are trusted without server-side authorization, validation, and policy enforcement.

Exploit preconditions

  • Attack surface: Remotely accessible registration workflow
  • Required access: The ability to submit registration requests or otherwise reach the affected endpoint
  • Trigger point: Processing of the level argument by RegisterServlet.doPost
  • Why exploitation is possible: The application may allow user-controlled privilege-related values to influence account permissions without enforcing an authorized server-side assignment policy

Why this happens

The underlying bug is improper separation between user-controlled registration data and security-sensitive authorization decisions. If the application accepts a client-provided account level as authoritative, it can assign privileges without verifying that the requester is permitted to grant those privileges. This behavior maps primarily to CWE-269: Improper Privilege Management, with CWE-266: Incorrect Privilege Assignment describing the related outcome.

Potential impact

  • An attacker may create an account with unauthorized privileges
  • The application could expose administrative or restricted functionality
  • Unauthorized users may modify protected records or workflows
  • The weakness could enable further compromise of application data or operations

General mitigation guidance

Mitigation generally focuses on ensuring that privilege decisions are made by trusted server-side policy rather than by client-provided values.

Common defensive patterns include:

  • Assigning newly registered accounts the least-privileged role by default
  • Ignoring or rejecting client-supplied privilege fields unless an authorized workflow explicitly requires them
  • Enforcing server-side authorization checks for every privilege assignment and sensitive operation
  • Validating account-level values against an allowlist and permitted transition rules
  • Separating registration data from administrative role-management functions
  • Applying least privilege to application identities and user accounts
  • Recording and reviewing changes to security-sensitive account attributes

How teams detect issues like this

Organizations can look for this weakness through:

  • Static analysis rules identifying client-controlled role, level, group, or permission parameters
  • Code review checks for authorization decisions based directly on request parameters
  • Tests that attempt to register or modify accounts with elevated privilege values
  • Policy enforcement requiring server-side role assignment and explicit authorization checks
  • Monitoring for unexpected privileged-account creation or privilege changes during registration
  • Automated security review tools that flag improper privilege assignment patterns

Sources

SourceLink
github.comgithub.com/Soarkey/StudentManagement/
github.comgithub.com/Soarkey/StudentManagement/issues/35
vuldb.comvuldb.com/cve/CVE-2026-90787
vuldb.comvuldb.com/submit/919259
vuldb.comvuldb.com/vuln/403293
vuldb.comvuldb.com/vuln/403293/cti

Frequently asked

questions

Yes, the reported attack surface is the remotely accessible registration workflow. Exploitability depends on whether an attacker can reach the endpoint and influence the relevant registration parameter.

Not necessarily. If the registration workflow is publicly accessible, an attacker may be able to submit a new registration request directly; deployment-specific access controls can change this scope.

Treat privilege-related values as server-controlled security decisions. Assign a low-privilege default during registration and require separate authorization for any elevation.

Review all request parameters that represent roles or account levels, enforce centralized authorization policies, test unauthorized privilege changes, and monitor security-sensitive account events.

Find out what's already
exploitable in your codebase.