/

CVE-2026-111681

Severity:

HIGH RISK

(8.8)

Missing Authorization (CWE-862) in EFAK User Management API

CVE-2026-111681

Deferred

Vulnerability type

Category:

Missing Authorization

CWE:

CWE-862

Impact:

Privilege Escalation and Account Takeover

Severity:

HIGH RISK

(8.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

EFAK through 5.1.0 contains a missing authorization vulnerability in its user management API. An authenticated low-privilege user may be able to create, modify, or delete accounts, including granting administrative roles, when administrator checks are not enforced.

EFAK through 5.1.0 contains a missing authorization vulnerability in its user management API. An authenticated low-privilege user may be able to create, modify, or delete accounts, including granting administrative roles, when administrator checks are not enforced.

Affected context

The issue occurs in EFAK deployments where the /api/users endpoints are reachable by authenticated users but do not consistently verify administrator privileges. It affects account-management operations handled by UserController, including user creation, modification, and deletion, and becomes risky when low-privilege accounts can invoke those operations.

The issue occurs in EFAK deployments where the /api/users endpoints are reachable by authenticated users but do not consistently verify administrator privileges. It affects account-management operations handled by UserController, including user creation, modification, and deletion, and becomes risky when low-privilege accounts can invoke those operations.

Exploit preconditions

  • Attack surface: EFAK's authenticated /api/users account-management endpoints
  • Required access: A valid authenticated account with low privileges
  • Trigger point: User creation, update, or deletion requests processed by UserController
  • Authorization condition: The request is accepted without confirming that the caller has an administrator role
  • Why exploitation is possible: Missing server-side role checks allow unauthorized account and privilege changes
  • Attack surface: EFAK's authenticated /api/users account-management endpoints
  • Required access: A valid authenticated account with low privileges
  • Trigger point: User creation, update, or deletion requests processed by UserController
  • Authorization condition: The request is accepted without confirming that the caller has an administrator role
  • Why exploitation is possible: Missing server-side role checks allow unauthorized account and privilege changes

Why this happens

The underlying bug is an authorization enforcement failure. The application exposes sensitive user-management operations but does not consistently perform a server-side administrator-role check before executing them. This behavior maps to CWE-862, Missing Authorization, because authentication establishes the caller's identity while access-control decisions for privileged actions are omitted or insufficiently enforced.

The underlying bug is an authorization enforcement failure. The application exposes sensitive user-management operations but does not consistently perform a server-side administrator-role check before executing them. This behavior maps to CWE-862, Missing Authorization, because authentication establishes the caller's identity while access-control decisions for privileged actions are omitted or insufficiently enforced.

Potential impact

  • An authenticated user may gain administrative privileges
  • Attackers could create additional administrator accounts
  • Existing user accounts may be modified or deleted
  • Unauthorized users could gain control over managed Kafka cluster operations
  • Account integrity and administrative auditability may be reduced
  • An authenticated user may gain administrative privileges
  • Attackers could create additional administrator accounts
  • Existing user accounts may be modified or deleted
  • Unauthorized users could gain control over managed Kafka cluster operations
  • Account integrity and administrative auditability may be reduced

General mitigation guidance

Mitigation generally focuses on enforcing authorization at every privileged

account-management operation, rather than relying on authentication alone.

Common defensive patterns include:

  • Require an explicit administrator or equivalent privileged role for all user-management actions
  • Enforce authorization checks on the server for every request method and endpoint
  • Apply deny-by-default access policies to administrative APIs
  • Prevent clients from selecting or changing privileged roles without an independently authorized workflow
  • Use least-privilege service and user accounts
  • Record and review account, role, and deletion changes
  • Centralize authorization policy enforcement to reduce inconsistent controller behavior

Mitigation generally focuses on enforcing authorization at every privileged

account-management operation, rather than relying on authentication alone.

Common defensive patterns include:

  • Require an explicit administrator or equivalent privileged role for all user-management actions
  • Enforce authorization checks on the server for every request method and endpoint
  • Apply deny-by-default access policies to administrative APIs
  • Prevent clients from selecting or changing privileged roles without an independently authorized workflow
  • Use least-privilege service and user accounts
  • Record and review account, role, and deletion changes
  • Centralize authorization policy enforcement to reduce inconsistent controller behavior

How teams detect issues like this

Organizations can look for this weakness through:

  • Static analysis rules that identify sensitive controllers without authorization annotations or policy checks
  • Code review of every user-management route and HTTP method
  • Tests confirming low-privilege accounts cannot create, modify, delete, or elevate users
  • API gateway or policy-engine rules restricting account-management endpoints to administrators
  • Audit-log monitoring for unexpected role changes, administrator creation, and user deletion
  • Automated security testing that evaluates authorization separately from authentication

Organizations can look for this weakness through:

  • Static analysis rules that identify sensitive controllers without authorization annotations or policy checks
  • Code review of every user-management route and HTTP method
  • Tests confirming low-privilege accounts cannot create, modify, delete, or elevate users
  • API gateway or policy-engine rules restricting account-management endpoints to administrators
  • Audit-log monitoring for unexpected role changes, administrator creation, and user deletion
  • Automated security testing that evaluates authorization separately from authentication

Sources

SourceLink
github.comgithub.com/smartloli/EFAK
github.comgithub.com/smartloli/EFAK/blob/v5.1.0/efak-web/src/main/java/org/kafka/eagle/web/controller/UserController.java#L218-L302
github.comgithub.com/smartloli/EFAK/blob/v5.1.0/efak-web/src/main/java/org/kafka/eagle/web/security/config/WebSecurityConfig.java#L89-L93
hackmd.iohackmd.io/@hieuPenguinnn/efak-missing-admin-gate-user-management-api
vulncheck.comvulncheck.com/advisories/efak-through-5.1.0-privilege-escalation-via-api-users-rest-api

Frequently asked

questions

It may be exploitable over the network when EFAK's user-management API is

reachable and the attacker has a valid authenticated account.

No. The reported issue concerns authenticated low-privilege users. The key

requirement is access to the affected endpoints, not an existing administrator

role.

Enforce server-side, deny-by-default authorization checks for every user

creation, update, role-change, and deletion operation, allowing only explicitly

authorized administrators to perform them.

Maintain centralized authorization policies, test each endpoint and HTTP method

with multiple roles, monitor privilege changes, and ensure client-controlled

role data cannot bypass server-side access decisions.

It may be exploitable over the network when EFAK's user-management API is

reachable and the attacker has a valid authenticated account.

No. The reported issue concerns authenticated low-privilege users. The key

requirement is access to the affected endpoints, not an existing administrator

role.

Enforce server-side, deny-by-default authorization checks for every user

creation, update, role-change, and deletion operation, allowing only explicitly

authorized administrators to perform them.

Maintain centralized authorization policies, test each endpoint and HTTP method

with multiple roles, monitor privilege changes, and ensure client-controlled

role data cannot bypass server-side access decisions.

Find out what's already
exploitable in your codebase.