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.
Published: 2026-10-10
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Missing Authorization for Role Retrieval
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Tue, 13 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Sun, 11 Oct 2026 02:00:00 +0000

Type Values Removed Values Added
First Time appeared Jeecg jeecg-boot
Jeecgboot
Jeecgboot jeecgboot
Vendors & Products Jeecg jeecg-boot
Jeecgboot
Jeecgboot jeecgboot

Sat, 10 Oct 2026 22:00:00 +0000

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'}


Subscriptions

Jeecg Jeecg-boot Jeecg Boot
Jeecgboot Jeecgboot
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T18:58:08.712Z

Reserved: 2026-10-10T20:19:03.886Z

Link: CVE-2026-108651

cve-icon Vulnrichment

Updated: 2026-10-13T18:58:02.898Z

cve-icon NVD

Status : Deferred

Published: 2026-10-10T22:16:41.043

Modified: 2026-10-15T15:54:54.563

Link: CVE-2026-108651

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T01:45:17Z

Weaknesses