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

CVE-2026-108649: JeecgBoot Authorization Bypass Vulnerability

CVE-2026-108649 is an authorization bypass flaw in JeecgBoot through version 3.9.5 that allows authenticated users to read any user's role codes and enumerate administrator accounts. This article covers technical details, affected versions, security impact, 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-108649 Overview

CVE-2026-108649 is a missing authorization vulnerability in JeecgBoot through version 3.9.5. The flaw resides in the queryUserRolesById handler of SystemApiController, which fails to verify whether the requesting user has permission to read another user's role assignments. Any authenticated low-privileged user can issue a GET /sys/api/queryUserRolesById request with an arbitrary userId and receive that account's role codes. Attackers use this behavior to enumerate role assignments across the platform and identify administrator accounts for follow-on attacks. The weakness is tracked under [CWE-862] Missing Authorization.

Critical Impact

Authenticated attackers can enumerate role assignments for any user, exposing administrator identities and enabling targeted credential or privilege-escalation attacks.

Affected Products

  • JeecgBoot versions up to and including 3.9.5
  • jeecg-module-system component containing SystemApiController
  • Deployments exposing /sys/api/queryUserRolesById to authenticated users

Discovery Timeline

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

Technical Details for CVE-2026-108649

Vulnerability Analysis

JeecgBoot exposes an internal system API endpoint, queryUserRolesById, within SystemApiController. The handler accepts a userId parameter and returns the role codes associated with that user. The controller performs no authorization check to confirm that the caller owns the requested user record or holds an administrative role. Any authenticated session can therefore query role information for arbitrary users.

The disclosed role codes let an attacker map the internal role hierarchy of the application. Identifying accounts with admin or equivalent privileges turns a generic authenticated session into a reconnaissance platform for targeted follow-on activity, such as password spraying, phishing, or exploitation of other authenticated-only vulnerabilities against known high-value accounts.

Root Cause

The handler at lines 482-485 of SystemApiController.java reads the userId query parameter and returns the result of the role lookup directly to the caller. There is no server-side check that the authenticated principal is permitted to read the target user's roles. This matches the [CWE-862] pattern where a sensitive operation lacks an authorization gate.

Attack Vector

Exploitation requires network access to the JeecgBoot application and a valid low-privileged session token. The attacker issues an HTTP GET request to /sys/api/queryUserRolesById with a userId parameter corresponding to any user in the system. The server responds with that user's role codes. A public proof-of-concept script, poc_sys_api_user_roles_by_id.py, iterates through user identifiers to enumerate administrators. See the VulnCheck Security Advisory and the GitHub PoC Repository for technical details.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-108649

Indicators of Compromise

  • Repeated authenticated GET requests to /sys/api/queryUserRolesById from a single session, especially with sequentially incrementing userId values.
  • Access to queryUserRolesById from accounts that have no business reason to perform user administration tasks.
  • Spikes in 200-response volume for the /sys/api/ path from non-administrative source IPs.

Detection Strategies

  • Create a web application firewall or reverse-proxy rule that alerts when a single session issues more than a small threshold of requests to queryUserRolesById within a short window.
  • Enable application-level audit logging on SystemApiController methods and correlate userId parameters against the authenticated principal.
  • Hunt in SIEM data for /sys/api/queryUserRolesById requests where the response body contains role codes for a userId that does not match the session owner.

Monitoring Recommendations

  • Forward JeecgBoot access logs and application logs to a central log platform with retention sufficient for retrospective investigation.
  • Baseline normal query volume for /sys/api/ endpoints and alert on deviations.
  • Track authentication events alongside API usage so enumeration bursts can be tied back to specific accounts and source addresses.

How to Mitigate CVE-2026-108649

Immediate Actions Required

  • Restrict network access to the /sys/api/ path so it is reachable only from trusted internal services or administrative networks.
  • Audit JeecgBoot access logs for prior calls to queryUserRolesById and review which accounts enumerated role data.
  • Rotate credentials for administrator accounts whose role assignments may have been disclosed.

Patch Information

No fixed version is referenced in the published advisory at this time. Review the upstream JeecgBoot repository and the VulnCheck Security Advisory for updates and apply any vendor-released patch above 3.9.5 as soon as it is available.

Workarounds

  • Add a reverse-proxy or API-gateway rule that blocks requests to /sys/api/queryUserRolesById from non-administrative users or networks.
  • Introduce a server-side authorization check that compares the authenticated principal to the userId parameter and rejects cross-user queries.
  • Disable or remove the queryUserRolesById route if the deployment does not depend on it for integration workflows.
bash
# Example NGINX rule restricting the vulnerable endpoint to an internal admin network
location = /sys/api/queryUserRolesById {
    allow 10.0.10.0/24;   # admin management subnet
    deny  all;
    proxy_pass http://jeecgboot_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.