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

CVE-2026-108872: JeecgBoot Privilege Escalation Vulnerability

CVE-2026-108872 is a privilege escalation flaw in JeecgBoot that allows low-privileged users to manipulate department assignments and positions. This post explains its technical details, affected versions, and mitigation steps.

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-108872 Overview

CVE-2026-108872 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in the batchEditUsers handler of SysUserController, which fails to verify administrative privileges before processing user department reassignments. Any authenticated low-privileged user can issue a PUT request to /sys/user/batchEditUsers with arbitrary user and department identifiers. This allows attackers to move users, including administrators, between departments and overwrite their positions. The result is organizational data tampering that can disrupt role-based access decisions tied to departmental membership.

Critical Impact

Authenticated attackers with low privileges can reassign any user, including administrators, to arbitrary departments and overwrite position metadata without authorization checks.

Affected Products

  • JeecgBoot versions up to and including 3.9.5
  • jeecg-module-system component containing SysUserController
  • Deployments exposing the /sys/user/batchEditUsers endpoint

Discovery Timeline

  • 2026-10-11 - CVE-2026-108872 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-108872

Vulnerability Analysis

The vulnerability stems from missing server-side authorization enforcement on a privileged user-management endpoint. JeecgBoot's SysUserController.batchEditUsers handler accepts PUT requests containing lists of user IDs and department IDs. The handler processes the reassignment without verifying whether the calling principal holds administrative rights over the target users or departments. Standard authenticated sessions, including those belonging to ordinary application users, satisfy the sole access requirement. Attackers exploit this gap to manipulate organizational structure data in sys_user_depart and position fields. Because many downstream permission checks and data-scope filters in JeecgBoot derive from department membership, the tampering can indirectly affect access control decisions across modules.

Root Cause

The root cause is an authorization check omission in the batchEditUsers method of SysUserController within jeecg-module-system. The handler relies only on authentication and does not validate the caller's role, scope, or ownership of the target records. This maps directly to CWE-862: Missing Authorization.

Attack Vector

Exploitation requires network access to the application and a valid low-privilege session token. The attacker crafts a PUT request to /sys/user/batchEditUsers with JSON content containing arbitrary userIds and departIds values. No user interaction is required. A public proof-of-concept script is available in the GitHub PoC for CVE Request repository, and the vulnerable source is referenced in the GitHub JeecgBoot SysUserController listing.

Detection Methods for CVE-2026-108872

Indicators of Compromise

  • PUT requests to /sys/user/batchEditUsers originating from accounts that are not members of administrative roles.
  • Unexpected modifications to sys_user_depart records or user position fields outside of normal HR workflows.
  • Audit log entries showing administrator accounts being reassigned to new departments by non-admin users.

Detection Strategies

  • Enable application-level audit logging for all SysUserController endpoints and correlate caller role against the sensitivity of the action.
  • Alert on any invocation of /sys/user/batchEditUsers where the authenticated principal lacks the system administrator role.
  • Baseline normal department-change volume per user per day and flag deviations such as bulk reassignments.

Monitoring Recommendations

  • Forward JeecgBoot application and web server logs to a centralized analytics platform for query and retention.
  • Monitor database change events against sys_user_depart and user position columns for writes that bypass expected administrative workflows.
  • Review authentication logs for low-privilege sessions issuing privileged administrative API calls.

How to Mitigate CVE-2026-108872

Immediate Actions Required

  • Restrict network access to the /sys/user/batchEditUsers endpoint via a reverse proxy or WAF rule, allowing only trusted administrative source IP ranges.
  • Audit sys_user_depart and position data for unauthorized changes since the application was deployed and revert any anomalies.
  • Rotate credentials and sessions for administrator accounts whose department assignments were tampered with.

Patch Information

At the time of publication, no fixed version is listed in the Vulncheck Advisory for JeecgBoot. All versions through 3.9.5 are affected. Monitor the upstream JeecgBoot repository for an updated release that adds a role-based authorization check to SysUserController.batchEditUsers.

Workarounds

  • Add a server-side authorization annotation such as @RequiresRoles("admin") or an equivalent Shiro or Spring Security guard to the batchEditUsers handler and rebuild the application.
  • Block the /sys/user/batchEditUsers route for non-administrative roles at the API gateway until an official patch is available.
  • Reduce the privileges and lifetime of low-trust user tokens to limit the window for exploitation.
bash
# Example NGINX reverse-proxy rule restricting batchEditUsers to admin network
location = /sys/user/batchEditUsers {
    allow 10.0.10.0/24;   # admin subnet
    deny  all;
    proxy_pass http://jeecg_backend;
}

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.