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-108867 Overview
CVE-2026-108867 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in the getUserRoleSetById handler of the SystemApiController class. Any authenticated user can supply an arbitrary userId parameter and retrieve the role codes assigned to that account. The endpoint fails to enforce the system:user:queryUserRole permission check before returning data.
Low-privileged attackers can enumerate role assignments across the user base and identify administrator accounts. This reconnaissance supports follow-on attacks that target privileged users through credential theft, phishing, or lateral movement.
Critical Impact
Authenticated attackers with minimal privileges can enumerate role assignments for every user in a JeecgBoot deployment and identify administrator accounts without proper authorization.
Affected Products
- JeecgBoot versions up to and including 3.9.5
- Component: jeecg-system-biz module, SystemApiController
- Vulnerable handler: getUserRoleSetById
Discovery Timeline
- 2026-10-11 - CVE-2026-108867 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-108867
Vulnerability Analysis
The SystemApiController in JeecgBoot exposes an internal system API used by other services and modules. The getUserRoleSetById endpoint accepts a userId request parameter and returns the role codes assigned to that user. According to the referenced source code at lines 440-443, the handler executes the role lookup without evaluating the caller's permissions.
JeecgBoot defines a permission token named system:user:queryUserRole that should gate access to role query operations. The vulnerable handler does not require this permission. Any session carrying a valid authentication token can therefore invoke the endpoint and read role data belonging to arbitrary users.
Attackers use this primitive to map the privilege structure of the target system. Iterating userId values yields a complete list of administrators, auditors, and other high-value accounts. For technical specifics, consult the Vulncheck Advisory for JeecgBoot.
Root Cause
The root cause is a missing authorization check in the getUserRoleSetById controller method. The developer exposed a role-query function through an API endpoint but omitted the Shiro annotation or programmatic check that enforces system:user:queryUserRole. The handler trusts any authenticated principal regardless of role.
Attack Vector
The attack vector is network-based and requires low privileges. An attacker authenticates to the JeecgBoot instance using any valid account, including self-registered or default low-privilege accounts. The attacker then issues HTTP requests to the vulnerable endpoint with incrementing userId values. The response discloses role codes that reveal administrator identities. A public proof of concept is available at the GitHub PoC for CVE.
No exploitation code is reproduced here. Refer to the public PoC and source reference for the exact request structure.
Detection Methods for CVE-2026-108867
Indicators of Compromise
- Repeated HTTP requests to the SystemApiController path invoking getUserRoleSetById with varying userId parameters from a single session
- Access to the role query endpoint from accounts that do not hold the system:user:queryUserRole permission
- Unusual sequential enumeration patterns against system API routes shortly after a low-privilege user authenticates
Detection Strategies
- Deploy web application firewall rules that log and rate-limit access to /sys/api/ endpoints by non-administrative sessions
- Review JeecgBoot application logs for calls to getUserRoleSetById and correlate the invoking user against expected role
- Baseline normal API consumption patterns and alert on sudden spikes in role query traffic
Monitoring Recommendations
- Enable verbose audit logging for the jeecg-system-biz module and ship logs to a centralized SIEM for correlation
- Monitor authentication events paired with system API calls to detect post-login reconnaissance
- Track failed privilege escalation attempts that follow role enumeration activity
How to Mitigate CVE-2026-108867
Immediate Actions Required
- Upgrade JeecgBoot to a version released after 3.9.5 that enforces the system:user:queryUserRole permission on the vulnerable handler
- Restrict network exposure of JeecgBoot administrative interfaces to trusted networks or VPN segments
- Audit existing user accounts and remove unused or default low-privilege accounts that could serve as entry points
Patch Information
At publication time, consult the JeecgBoot GitHub repository and the Vulncheck Advisory for JeecgBoot for the latest patched release. The fix must add a permission annotation such as @RequiresPermissions("system:user:queryUserRole") to the getUserRoleSetById method in SystemApiController.java.
Workarounds
- Apply a reverse proxy rule that blocks requests to the getUserRoleSetById endpoint from non-administrative source IP ranges
- Patch the controller locally by adding the @RequiresPermissions("system:user:queryUserRole") annotation and rebuilding the jeecg-system-biz module
- Disable self-registration and tighten account provisioning to reduce the pool of accounts capable of authenticating and reaching the endpoint
# Example nginx rule to block the vulnerable endpoint for untrusted sources
location ~* /sys/api/getUserRoleSetById {
allow 10.0.0.0/8;
deny all;
}
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

