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

CVE-2026-108654: JeecgBoot Authorization Bypass Vulnerability

CVE-2026-108654 is an authorization bypass flaw in JeecgBoot that allows low-privileged users to access object storage file records of other users. This post explains its technical details, affected versions, 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-108654 Overview

CVE-2026-108654 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in the OssFileController.queryById handler exposed at GET /sys/oss/file/queryById. Low-privileged authenticated users can request any object storage file record by supplying a known record identifier. The server returns the original file name and the direct storage URL of files uploaded by other users, bypassing ownership checks.

Critical Impact

Any authenticated low-privileged user can enumerate and retrieve file metadata and direct storage URLs for objects uploaded by other tenants, enabling cross-user data exposure.

Affected Products

  • JeecgBoot through 3.9.5
  • jeecg-module-system / jeecg-system-biz module (OssFileController)
  • Deployments exposing the /sys/oss/file/queryById endpoint

Discovery Timeline

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

Technical Details for CVE-2026-108654

Vulnerability Analysis

The vulnerability affects the queryById handler in OssFileController.java within the JeecgBoot system module. The handler accepts a record id parameter and returns the matching SysOssFile entity without validating whether the requesting user owns the record or has a role authorizing access. Authenticated users with the lowest available privileges can therefore read records belonging to any other user. Returned fields include the original uploaded file name and the direct object storage URL, which in many deployments resolves to publicly addressable or presigned storage locations.

Successful exploitation leaks file metadata and may provide direct download URLs for sensitive uploads such as contracts, identity documents, or internal reports. The confidentiality impact is partial because only records whose identifiers are known or guessable are exposed; integrity and availability are not affected.

Root Cause

The root cause is a missing authorization check in the controller method. The handler relies on authentication alone and performs a direct lookup by primary key without filtering by createBy, tenant, or role. This is a classic broken access control pattern mapped to [CWE-862] Missing Authorization. See the JeecgBoot source reference for the affected lines.

Attack Vector

The attack vector is network-based and requires a valid low-privileged account. An attacker authenticates to the JeecgBoot instance, obtains a session or JWT, and issues GET /sys/oss/file/queryById?id=<record_id> requests. Record identifiers can be harvested from referenced fields, enumerated, or guessed depending on the ID format. A public proof of concept is published in the AnkesKasty PoC repository.

No arbitrary code execution is possible through this endpoint. The impact is limited to disclosure of OSS file records.

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

Indicators of Compromise

  • Repeated GET /sys/oss/file/queryById requests from a single authenticated session with varying id parameters.
  • Access patterns where one user account retrieves OSS records whose createBy field does not match the account.
  • Spikes in outbound requests to the configured object storage endpoint originating from users who did not upload those files.

Detection Strategies

  • Review application access logs for sequential or high-volume calls to /sys/oss/file/queryById and correlate the record ownership with the requesting principal.
  • Correlate authentication logs with OSS record access to identify low-privileged accounts touching records outside their scope.
  • Deploy a WAF or reverse-proxy rule to log and alert on calls to the queryById endpoint pending patch deployment.

Monitoring Recommendations

  • Enable verbose request logging on all /sys/oss/file/* routes, including the authenticated subject, record id, and HTTP status.
  • Monitor object storage access logs for presigned or direct URL retrievals that were not preceded by an upload by the same identity.
  • Alert on new user accounts that query a disproportionate number of distinct OSS record IDs within a short window.

How to Mitigate CVE-2026-108654

Immediate Actions Required

  • Restrict network access to the JeecgBoot administrative and /sys/oss/* endpoints to trusted users and networks.
  • Revoke or lower privileges for untrusted or test accounts on affected deployments until a patched version is deployed.
  • Rotate or invalidate any sensitive files whose direct storage URLs may have been exposed.

Patch Information

As of the NVD last-modified date (2026-10-13), the VulnCheck advisory lists all JeecgBoot releases through 3.9.5 as affected. Operators should track the upstream JeecgBoot repository for a fixed release and upgrade once an authorization check is added to the queryById handler.

Workarounds

  • Add a server-side authorization filter that verifies createBy or tenant ownership before returning records from OssFileController.queryById.
  • Block or restrict the /sys/oss/file/queryById route at the gateway or reverse proxy for non-administrative roles.
  • Reconfigure object storage buckets to require short-lived presigned URLs scoped to the uploading user rather than long-lived direct URLs.
bash
# Example Nginx rule to restrict the vulnerable endpoint to admin IPs
location = /sys/oss/file/queryById {
    allow 10.0.0.0/8;
    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.