/

CVE-2026-111708

Severity:

CRITICAL RISK

(9.8)

Authentication Bypass (CWE-269) in WhaTicket Signup

CVE-2026-111708

Deferred

Vulnerability type

Category:

Authentication Bypass

CWE:

CWE-269

Impact:

Unauthorized Administrator Access

Severity:

CRITICAL RISK

(9.8)

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

WhaTicket Community through commit cf04795 contains an authentication and privilege assignment flaw in the account registration endpoint. An unauthenticated attacker may register an account with administrator privileges, gaining access to user management, settings, tickets, contacts, messages, and WhatsApp connections.

WhaTicket Community through commit cf04795 contains an authentication and privilege assignment flaw in the account registration endpoint. An unauthenticated attacker may register an account with administrator privileges, gaining access to user management, settings, tickets, contacts, messages, and WhatsApp connections.

Affected context

The vulnerability occurs in WhaTicket Community deployments where the /auth/signup endpoint permits unauthenticated registration and accepts attacker-controlled profile information. The risk is present when the registration flow does not enforce a fixed low-privilege role or properly validate omitted and administrator-designating profile values before creating the account.

The vulnerability occurs in WhaTicket Community deployments where the /auth/signup endpoint permits unauthenticated registration and accepts attacker-controlled profile information. The risk is present when the registration flow does not enforce a fixed low-privilege role or properly validate omitted and administrator-designating profile values before creating the account.

Exploit preconditions

  • Attack surface: Public HTTP account-registration endpoint
  • Required access: No prior authentication is required
  • Trigger point: Account creation through POST /auth/signup
  • Relevant condition: The profile field may be omitted or may contain an administrator designation
  • Why exploitation is possible: Registration input can influence effective privileges without reliable server-side enforcement of the intended default role
  • Attack surface: Public HTTP account-registration endpoint
  • Required access: No prior authentication is required
  • Trigger point: Account creation through POST /auth/signup
  • Relevant condition: The profile field may be omitted or may contain an administrator designation
  • Why exploitation is possible: Registration input can influence effective privileges without reliable server-side enforcement of the intended default role

Why this happens

The underlying flaw is improper privilege management, mapped to CWE-269. The registration workflow allows untrusted client-supplied account attributes to influence authorization decisions, rather than assigning a fixed least-privilege role and separately restricting administrative role changes. This creates an authentication and authorization boundary failure in which a public signup operation can produce an administrator account.

The underlying flaw is improper privilege management, mapped to CWE-269. The registration workflow allows untrusted client-supplied account attributes to influence authorization decisions, rather than assigning a fixed least-privilege role and separately restricting administrative role changes. This creates an authentication and authorization boundary failure in which a public signup operation can produce an administrator account.

Potential impact

  • An attacker may create an administrator account without authentication
  • Unauthorized users could manage accounts and application settings
  • Attackers could access or alter tickets, contacts, and messages
  • WhatsApp connection configuration could be exposed or manipulated
  • The application may experience data disclosure, integrity loss, or administrative takeover
  • An attacker may create an administrator account without authentication
  • Unauthorized users could manage accounts and application settings
  • Attackers could access or alter tickets, contacts, and messages
  • WhatsApp connection configuration could be exposed or manipulated
  • The application may experience data disclosure, integrity loss, or administrative takeover

General mitigation guidance

Mitigation generally focuses on separating account registration from privilege assignment and ensuring that authorization decisions are made exclusively by trusted server-side controls.

Common defensive patterns include:

  • Assigning every self-registered account a fixed, non-administrative role
  • Ignoring or rejecting client-provided role and privilege attributes during signup
  • Requiring a separate, strongly controlled workflow for administrator creation or promotion
  • Enforcing authorization checks on every administrative action and protected resource
  • Applying least privilege to application roles and service accounts
  • Adding negative tests for omitted, malformed, and administrator-designating profile values

Mitigation generally focuses on separating account registration from privilege assignment and ensuring that authorization decisions are made exclusively by trusted server-side controls.

Common defensive patterns include:

  • Assigning every self-registered account a fixed, non-administrative role
  • Ignoring or rejecting client-provided role and privilege attributes during signup
  • Requiring a separate, strongly controlled workflow for administrator creation or promotion
  • Enforcing authorization checks on every administrative action and protected resource
  • Applying least privilege to application roles and service accounts
  • Adding negative tests for omitted, malformed, and administrator-designating profile values

How teams detect issues like this

Organizations can identify similar weaknesses through:

  • Static analysis and code review checks for client-controlled role or privilege assignment
  • Review of registration handlers, account models, and default-role logic
  • Dynamic testing of unauthenticated signup behavior with omitted and unexpected profile fields
  • Monitoring for newly created administrator accounts and unusual administrative activity
  • Policy enforcement requiring server-side authorization tests for all public account-creation paths
  • Automated security review tools that flag privilege decisions based directly on request parameters

Organizations can identify similar weaknesses through:

  • Static analysis and code review checks for client-controlled role or privilege assignment
  • Review of registration handlers, account models, and default-role logic
  • Dynamic testing of unauthenticated signup behavior with omitted and unexpected profile fields
  • Monitoring for newly created administrator accounts and unusual administrative activity
  • Policy enforcement requiring server-side authorization tests for all public account-creation paths
  • Automated security review tools that flag privilege decisions based directly on request parameters

Sources

SourceLink
github.comgithub.com/canove/whaticket-community
github.comgithub.com/canove/whaticket-community/blob/cf047955a6f0d07002ed89c67d765c28d06f8d52/backend/src/controllers/UserController.ts#L29-L48
github.comgithub.com/canove/whaticket-community/blob/cf047955a6f0d07002ed89c67d765c28d06f8d52/backend/src/services/UserServices/CreateUserService.ts#L23-L65
hackmd.iohackmd.io/@hieuPenguinnn/whaticket-community-signup-eop-ticket-idor
vulncheck.comvulncheck.com/advisories/whaticket-community-through-commit-cf04795-admin-self-registration-via-auth-signup

Frequently asked

questions

Yes. The affected signup endpoint is publicly accessible, so exploitation may be possible over the network without an existing account.

No. The described attack begins with unauthenticated access to POST /auth/signup.

Assign a fixed least-privilege role during self-registration and prevent client-controlled profile data from granting administrative permissions.

Enforce authorization decisions server-side, separate administrator provisioning from public signup, test role-boundary conditions, and monitor unexpected administrator creation.

Yes. The affected signup endpoint is publicly accessible, so exploitation may be possible over the network without an existing account.

No. The described attack begins with unauthenticated access to POST /auth/signup.

Assign a fixed least-privilege role during self-registration and prevent client-controlled profile data from granting administrative permissions.

Enforce authorization decisions server-side, separate administrator provisioning from public signup, test role-boundary conditions, and monitor unexpected administrator creation.

Find out what's already
exploitable in your codebase.