CVE-2026-108651

JeecgBoot through 3.9.5 Missing Authorization via /sys/api/getRolesByUserId

Published Oct 10, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the getRolesByUserId handler of SystemApiController that allows authenticated users to retrieve any user's role codes. Low-privileged attackers can supply arbitrary userId values to GET /sys/api/getRolesByUserId to enumerate role assignments and identify administrator accounts.

Analysis

AI-generated

Technical impact

JeecgBoot through 3.9.5 contains a missing authorization flaw in the getRolesByUserId handler of SystemApiController. The flaw allows an authenticated user to request any userId and receive that user's role codes. This enumeration can reveal which accounts hold administrative roles, thereby assisting attackers in planning privilege‑escalation or targeted attacks. The weakness is a missing authorization (CWE‑862).

Affected Systems

JeecgBoot versions up to and including 3.9.5 are affected. The vulnerability exists in the core module that exposes /sys/api/getRolesByUserId. Only users who have logged into the application can leverage the endpoint.

Risk and Exploitability

The CVSS score is 5.3, indicating a low‑to‑moderate impact when combined with credentialed access. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. Attackers must be authenticated, so the exploitation vector is a legitimate login followed by a crafted GET request to /sys/api/getRolesByUserId. Since the flaw permits role enumeration, attackers may identify privileged accounts and potentially use other weaknesses to increase privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade JeecgBoot to a patched version that corrects the authorization check on the getRolesByUserId endpoint
  • Restrict access to /sys/api/getRolesByUserId so that only administrative or privileged accounts can call it, using role‑based routing or firewall rules
  • Monitor application logs for repeated or abnormal use of the getRolesByUserId endpoint and audit role assignments regularly

Generated by OpenCVE AI on October 11, 2026 at 00:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Jeecg jeecg-boot
Jeecgboot
Jeecgboot jeecgboot
Vendors & Products Jeecg jeecg-boot
Jeecgboot
Jeecgboot jeecgboot
Type Values Removed Values Added
Description JeecgBoot through 3.9.5 contains a missing authorization vulnerability in the getRolesByUserId handler of SystemApiController that allows authenticated users to retrieve any user's role codes. Low-privileged attackers can supply arbitrary userId values to GET /sys/api/getRolesByUserId to enumerate role assignments and identify administrator accounts.
Title JeecgBoot through 3.9.5 Missing Authorization via /sys/api/getRolesByUserId
First Time appeared Jeecg
Jeecg jeecg Boot
Weaknesses CWE-862
CPEs cpe:2.3:a:jeecg:jeecg_boot:*:*:*:*:*:*:*:*
Vendors & Products Jeecg
Jeecg jeecg Boot
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 6:58 PM
Reserved
Oct 10, 2026, 8:19 PM
Status
Deferred
Published
Oct 10, 2026, 10:16 PM
Modified
Oct 15, 2026, 3:54 PM