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

CVE-2026-108877: JeecgBoot Authorization Bypass Vulnerability

CVE-2026-108877 is an authorization bypass flaw in JeecgBoot that allows low-privileged users to delete AI prompt templates. This post explains its technical details, affected versions, 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-108877 Overview

CVE-2026-108877 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in AiragPromptsController and exposes the DELETE /airag/prompts/delete endpoint without ownership or role checks. Any authenticated user, including a low-privileged account, can delete AI prompt templates belonging to any other user. Attackers first enumerate template identifiers through the unguarded GET /airag/prompts/list endpoint, then issue delete requests to logically remove targeted templates. The resulting data loss affects every user of the shared AI retrieval-augmented generation (RAG) workflow.

Critical Impact

Authenticated low-privileged attackers can delete arbitrary AI prompt templates, denying access to all users of the JeecgBoot AiRAG module.

Affected Products

  • JeecgBoot versions through 3.9.5
  • jeecg-boot-module-airag module (AiragPromptsController)
  • Deployments exposing /airag/prompts/* endpoints to authenticated users

Discovery Timeline

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

Technical Details for CVE-2026-108877

Vulnerability Analysis

The vulnerability stems from an authorization gap in the AiRAG prompt management controller. The delete handler at AiragPromptsController lines 117-123 accepts a prompt template id parameter and performs a logical delete without verifying whether the caller owns the resource. Any account that can authenticate to the JeecgBoot application can invoke the operation. The paired GET /airag/prompts/list endpoint returns identifiers for templates belonging to all users, giving attackers the information needed to target specific records. Because the delete is logical rather than physical, administrators may not immediately notice the removal, but the templates become unavailable to the legitimate owner and every other consumer of the AiRAG workflow. The integrity impact is limited to prompt template availability, and no code execution or credential exposure occurs through this flaw.

Root Cause

The root cause is a missing authorization check [CWE-862] in the controller method handling DELETE /airag/prompts/delete. Spring Security annotations or in-method ownership validation that would compare the authenticated principal against the template owner are absent. The listing endpoint compounds the issue by returning records across tenants without filtering.

Attack Vector

Exploitation requires network access to the JeecgBoot web application and valid credentials for any user role. An attacker authenticates, requests GET /airag/prompts/list to harvest template ids, then issues DELETE /airag/prompts/delete with each target id. The vulnerability mechanism is documented in the published proof-of-concept at AnkesKasty cve-request-poc and the vulnerable controller is viewable in the JeecgBoot source tree.

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

Indicators of Compromise

  • Unexpected DELETE /airag/prompts/delete requests originating from low-privileged user sessions.
  • Access log entries showing a single authenticated user enumerating GET /airag/prompts/list followed by sequential delete calls.
  • Database audit records showing prompt template rows flipped to a deleted state outside normal administrative workflows.

Detection Strategies

  • Correlate authentication logs with AiRAG endpoint access to identify users deleting templates they did not create.
  • Alert when the ratio of DELETE to POST operations against /airag/prompts/* exceeds a baseline per user.
  • Deploy web application firewall rules that flag unauthenticated or cross-tenant access patterns against the AiRAG controller.

Monitoring Recommendations

  • Enable verbose request logging on all /airag/prompts/* routes including user principal and request parameters.
  • Forward application and reverse proxy logs to a central SIEM for retention and query-based hunting.
  • Review prompt template inventory on a scheduled basis and compare counts against known-good baselines.

How to Mitigate CVE-2026-108877

Immediate Actions Required

  • Restrict network access to the JeecgBoot administrative interface to trusted users only.
  • Audit existing accounts and disable or rotate credentials for accounts that no longer require access.
  • Review AiRAG prompt template audit history to identify any already-deleted records that require restoration.

Patch Information

At the time of publication, no fixed JeecgBoot release is referenced in the enriched data. Monitor the VulnCheck advisory for JeecgBoot and the upstream JeecgBoot repository for an updated version addressing the authorization check in AiragPromptsController.

Workarounds

  • Block or require elevated roles for DELETE /airag/prompts/delete and GET /airag/prompts/list at the reverse proxy or API gateway layer.
  • Apply a server-side filter that rejects delete requests when the authenticated user id does not match the template owner recorded in the database.
  • Disable the AiRAG prompts module in deployments that do not use the feature until a vendor patch is available.
bash
# Example reverse proxy rule to require admin role for the vulnerable endpoint
location /airag/prompts/delete {
    if ($http_x_user_role != "admin") {
        return 403;
    }
    proxy_pass http://jeecgboot_upstream;
}

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.