/

CVE-2026-130853

Severity:

HIGH RISK

(7.2)

Improper Privilege Management (CWE-269) in Nexterm Groups

CVE-2026-130853

Deferred

Vulnerability type

Category:

Privilege Escalation

CWE:

CWE-269

Impact:

Unauthorized privilege escalation

Severity:

HIGH RISK

(7.2)

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

Nexterm's group membership endpoints can allow a user with permissions.manage to add their own account to custom groups without the required authorization check. If those groups grant permissions beyond the caller's authority, the user may gain elevated capabilities such as impersonating users or accessing backups.

Affected context

The issue affects Nexterm through 1.2.2-BETA in the addGroupMember and setUserGroups operations. Risk arises when a user with permissions.manage can change group membership and the requested group grants permissions the caller is not authorized to assign.

Exploit preconditions

  • Attack surface: Nexterm group membership endpoints
  • Required access: An account with permissions.manage and access to the relevant endpoints
  • Trigger point: Changing group membership for the caller's own account
  • Why exploitation is possible: The affected operations lack a grantsBeyondCaller check, so group permissions may exceed the caller's authorization

Why this happens

The underlying issue is an authorization failure in group membership management. The affected operations do not verify that the caller is permitted to grant all permissions associated with a group, mapping to CWE-269: Improper Privilege Management. As a result, a user with group-management access may be able to assign themselves permissions beyond their intended authority.

Potential impact

  • A user could gain permissions beyond those assigned to their account
  • Elevated access may enable user impersonation
  • Sensitive settings or backups could be accessed
  • Unauthorized group changes could weaken access boundaries

General mitigation guidance

Defensive patterns focus on enforcing authorization at every group-membership change.

  • Check that the caller is authorized to grant every permission inherited from the target group
  • Apply consistent authorization checks across all endpoints that modify group membership
  • Use secure-by-default group permissions and limit powerful capabilities to narrowly scoped roles
  • Reduce reliance on user-controlled group assignments and restrict who can modify membership
  • Run application components with only the privileges required for their responsibilities

How teams detect issues like this

Review group-management code for authorization checks that compare the permissions being granted with the caller's authority.

  • Use static analysis or code review to identify membership-changing operations without consistent authorization guards
  • Inspect API policies and tests for self-assignment to groups with higher privileges
  • Monitor audit logs for unexpected group membership changes or newly granted sensitive permissions
  • Enforce centralized authorization policies for permission grants across endpoints

Sources

SourceLink
github.comgithub.com/gnmyt/Nexterm/blob/v1.2.2-BETA/server/controllers/permission.js#L148-L210
github.comgithub.com/gnmyt/Nexterm/commit/9491ece151498a50c3eb1412054dd8362f99ba1a
github.comgithub.com/gnmyt/Nexterm/issues/2001
vulncheck.comvulncheck.com/advisories/nexterm-through-1.2.2-beta-privilege-escalation-via-permission-group-membership

Frequently asked

questions

It involves Nexterm's group membership endpoints; exposure depends on how the application is deployed and whether those endpoints are reachable.

The described attack requires an account with permissions.manage and the ability to use the affected group membership operations.

Before changing membership, verify that the caller is authorized to grant every permission the target group provides.

Centralize authorization checks for permission changes, use least-privilege groups, and test that callers cannot assign themselves capabilities beyond their authority.

Find out what's already
exploitable in your codebase.