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

CVE-2026-108866: JeecgBoot Authorization Bypass Vulnerability

CVE-2026-108866 is an authorization bypass flaw in JeecgBoot that lets authenticated users access other accounts' permissions through the queryUserAuths handler. This article covers technical details, affected versions, and mitigation.

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

CVE-2026-108866 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in the queryUserAuths handler within SystemApiController.java, which fails to verify whether the requesting user has permission to read another account's authorization data. Authenticated low-privileged users can submit an arbitrary userId parameter and retrieve the target user's complete permission set. Attackers use this behavior to enumerate administrator accounts and map internal privilege boundaries, enabling targeted follow-on attacks against high-value identities.

Critical Impact

Any authenticated JeecgBoot user can enumerate other users' permissions, including administrators, through the sys/api/queryUserAuths endpoint.

Affected Products

  • JeecgBoot versions up to and including 3.9.5
  • Component: jeecg-system-biz module, SystemApiController handler
  • Endpoint: sys/api/queryUserAuths

Discovery Timeline

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

Technical Details for CVE-2026-108866

Vulnerability Analysis

The vulnerability is a server-side authorization gap in JeecgBoot's system API layer. The queryUserAuths method accepts a userId request parameter and returns the authorization records associated with that identifier. The handler performs authentication checks to confirm the caller holds a valid session, but it does not compare the requested userId against the authenticated principal or evaluate role-based access control.

As a result, any logged-in user can request another account's permission set. The response data reveals role assignments, permission codes, and administrative flags. Attackers use the returned data to identify privileged accounts without triggering brute-force or credential-based alerts. The disclosure is limited to authorization metadata, so integrity and availability remain unaffected.

Root Cause

The root cause is missing object-level authorization in the queryUserAuths handler. The controller treats the userId parameter as trusted input rather than scoping queries to the authenticated session. This pattern matches [CWE-862: Missing Authorization], where the application exposes a sensitive function without verifying the caller's rights against the target object. See the JeecgBoot source for SystemApiController for the vulnerable code path.

Attack Vector

Exploitation requires network access to the JeecgBoot application and valid credentials for any account, including the lowest-privilege roles. The attacker issues an HTTP request to the sys/api/queryUserAuths endpoint while supplying an arbitrary userId value. The server returns the target user's authorization set without additional checks. A public proof of concept is available in the GitHub PoC repository.

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-108866

Indicators of Compromise

  • Repeated HTTP requests to sys/api/queryUserAuths from a single authenticated session with varying userId values
  • Requests to the endpoint originating from non-administrative user sessions
  • Sequential or scripted enumeration patterns against userId parameters within short time windows
  • Application logs showing successful permission queries targeting administrator user identifiers

Detection Strategies

  • Correlate authenticated session identifiers with the userId parameter in access logs and flag mismatches
  • Alert when a single session queries more than a threshold of distinct userId values within a defined time window
  • Monitor for user-agent strings associated with scripting libraries, such as python-requests, hitting the handler
  • Review web application firewall (WAF) telemetry for parameter tampering patterns on the system API path

Monitoring Recommendations

  • Centralize JeecgBoot application logs in a SIEM for correlation with authentication events
  • Enable verbose logging on the SystemApiController class to capture caller identity and target userId
  • Baseline normal query volumes to the sys/api/queryUserAuths endpoint and alert on deviations
  • Track administrator account references in API responses to identify reconnaissance activity

How to Mitigate CVE-2026-108866

Immediate Actions Required

  • Inventory all JeecgBoot deployments and confirm whether any run version 3.9.5 or earlier
  • Restrict network exposure of the JeecgBoot management interface to trusted administrative networks
  • Revoke unused low-privilege accounts to reduce the pool of credentials attackers can abuse
  • Review audit logs for prior access to the sys/api/queryUserAuths endpoint and investigate anomalies

Patch Information

No fixed version is listed in the published advisory at the time of writing. Monitor the VulnCheck advisory and the JeecgBoot GitHub repository for an official patch release and apply it as soon as it is available. Confirm the patch enforces an authorization check that scopes queries to the authenticated session.

Workarounds

  • Block external access to the sys/api/queryUserAuths endpoint at the reverse proxy or WAF layer until a patch is applied
  • Introduce a server-side filter that compares the authenticated principal against the submitted userId and rejects mismatches for non-administrative roles
  • Enforce rate limiting on the system API path to slow enumeration attempts
  • Rotate credentials for administrator accounts if logs indicate prior enumeration activity
bash
# Example nginx rule to restrict the vulnerable endpoint to an admin subnet
location /sys/api/queryUserAuths {
    allow 10.0.0.0/24;
    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.