Skip to main content
Vulnerability Database/CVE-2026-108628

CVE-2026-108628: JeecgBoot Privilege Escalation Vulnerability

CVE-2026-108628 is a privilege escalation vulnerability in JeecgBoot that allows authenticated attackers to modify department role permissions and grant unauthorized access. This article covers technical details, affected versions through 3.9.5, impact analysis, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-108628 Overview

CVE-2026-108628 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in the saveDeptRolePermission endpoint of SysDepartPermissionController. Any authenticated user can submit roleId and permissionIds values to modify department role permissions. Low-privileged accounts can grant themselves arbitrary menu or button permissions, revoke permissions from other users, or escalate privileges within the application.

Critical Impact

Authenticated low-privileged users can rewrite department role permissions through an unprotected endpoint, enabling horizontal and vertical privilege escalation across JeecgBoot deployments.

Affected Products

  • JeecgBoot versions up to and including 3.9.5
  • jeecg-module-system component containing SysDepartPermissionController
  • Deployments exposing the saveDeptRolePermission endpoint to authenticated users

Discovery Timeline

  • 2026-10-10 - CVE-2026-108628 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-108628

Vulnerability Analysis

The vulnerability exists in the saveDeptRolePermission method within SysDepartPermissionController.java. The endpoint accepts a roleId and a list of permissionIds and writes the resulting permission mapping directly to the department role. The handler enforces authentication but does not verify whether the calling user owns the target roleId or holds administrative scope over the department. As a result, any authenticated principal can submit a crafted request and overwrite the permission set for any role in the system.

Successful exploitation grants attackers the ability to assign themselves menu and button permissions reserved for administrators. The same primitive can be used to strip permissions from legitimate users, producing a denial-of-service condition against application roles. Because the write occurs server-side without role-ownership checks, the integrity of the entire RBAC model is undermined.

Root Cause

The root cause is a missing authorization check [CWE-862] on a privileged state-changing endpoint. Authentication is treated as sufficient to invoke saveDeptRolePermission, but no server-side verification confirms that the authenticated user is permitted to modify the targeted roleId. The vulnerable code path is visible in the upstream repository at SysDepartPermissionController.java lines 252-271.

Attack Vector

The attack is network-reachable and requires only low-privileged authenticated access. An attacker logs in with any valid account, enumerates existing roleId values, and issues an HTTP request to saveDeptRolePermission containing a target roleId and attacker-chosen permissionIds. The server persists the submitted permission set without validating role ownership. A public proof-of-concept is available at the GitHub PoC Script.

No verified sanitized exploitation code is reproduced here. Refer to the VulnCheck Advisory on JeecgBoot for additional technical context.

Detection Methods for CVE-2026-108628

Indicators of Compromise

  • HTTP POST requests to the saveDeptRolePermission endpoint originating from non-administrative user sessions.
  • Unexpected changes to department role permission mappings in the sys_depart_role_permission table.
  • Audit log entries showing permission grants or revocations that do not correlate with administrator activity.
  • Sudden privilege elevation for accounts that previously held only standard user roles.

Detection Strategies

  • Monitor application access logs for calls to /sys/sysDepartPermission/saveDeptRolePermission and correlate caller identity with role membership.
  • Enable database-level auditing on role and permission tables to flag writes performed outside administrative workflows.
  • Alert on bulk permissionIds submissions that assign high-privilege menu or button codes to non-admin roles.

Monitoring Recommendations

  • Baseline normal permission-change frequency and alert on deviations.
  • Forward JeecgBoot application and audit logs to a centralized analytics platform for cross-session correlation.
  • Review authentication logs for accounts that invoke saveDeptRolePermission followed by access to newly granted administrative functions.

How to Mitigate CVE-2026-108628

Immediate Actions Required

  • Restrict network access to JeecgBoot administrative endpoints to trusted operators and management networks.
  • Audit all department role permission records for unauthorized modifications and revert any unexpected grants.
  • Rotate credentials for accounts that may have been used to exploit the endpoint.
  • Review and tighten role assignments so low-privileged accounts cannot reach the vulnerable controller through the UI or API gateway.

Patch Information

No vendor-published fixed version is referenced in the available advisory data at the time of writing. The vulnerability affects JeecgBoot through 3.9.5. Monitor the JeecgBoot repository and the VulnCheck Advisory on JeecgBoot for an official patch and upgrade when it becomes available.

Workarounds

  • Implement a reverse-proxy or API gateway rule that blocks requests to saveDeptRolePermission from users outside an administrator allowlist.
  • Add a server-side authorization filter or interceptor that validates the caller holds administrative scope over the submitted roleId before the controller executes.
  • Disable or remove the SysDepartPermissionController endpoint if department role permission management is not required.
  • Enforce multi-factor authentication for all accounts with access to the JeecgBoot administrative interface to raise the cost of credential compromise.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.