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

CVE-2026-108667: JeecgBoot Authorization Bypass Vulnerability

CVE-2026-108667 is an authorization bypass flaw in JeecgBoot that lets low-privileged users restore deleted AI prompt templates without proper authorization. This post explains its impact, 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-108667 Overview

CVE-2026-108667 is a missing authorization vulnerability in JeecgBoot versions through 3.9.5. The flaw resides in the revertRecycleBin endpoint of the AI retrieval-augmented generation (AI-RAG) prompts module. Low-privileged authenticated users can send PUT requests to /airag/prompts/revertRecycleBin with chosen template ids to clear deleted flags on AI prompt templates. This action undoes administrator removals and restores content that was intentionally sent to the recycle bin. The weakness is classified as missing authorization [CWE-862].

Critical Impact

Authenticated low-privilege users can reverse administrator deletions of AI prompt templates, undermining content governance and administrative controls over the AI-RAG module.

Affected Products

  • JeecgBoot through version 3.9.5
  • JeecgBoot jeecg-boot-module-airag component
  • AiragPromptsController revertRecycleBin endpoint

Discovery Timeline

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

Technical Details for CVE-2026-108667

Vulnerability Analysis

The vulnerability affects the AI-RAG prompts controller in JeecgBoot, an open-source low-code development platform. The revertRecycleBin handler in AiragPromptsController accepts a PUT request from any authenticated session without verifying that the caller has the administrative role required to manage AI prompt templates. Any user holding a valid session token can submit template ids and reset their deleted flags, restoring records removed by administrators.

This exposure enables tampering with the integrity of the AI prompt library. Restored templates may contain prompts that administrators removed for policy, safety, or compliance reasons. There is no direct impact on confidentiality or availability, but the integrity impact extends to downstream AI-RAG pipelines that consume the restored prompts.

Root Cause

The root cause is a missing authorization check [CWE-862] on the revertRecycleBin endpoint. Authentication alone is enforced, but the handler does not validate role or permission scope before mutating template state. Reference the vendor source at JeecgBoot AiragPromptsController for the affected lines.

Attack Vector

An attacker authenticates as any low-privileged user, enumerates or guesses deleted template ids, and issues a PUT request to /airag/prompts/revertRecycleBin. The server processes the id list and clears deleted flags for each record. A proof-of-concept script is available at GitHub PoC for CVE Request.

// No verified exploit code reproduced here.
// See the PoC and vendor controller source linked above for technical details.

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

Indicators of Compromise

  • PUT requests to /airag/prompts/revertRecycleBin originating from non-administrative accounts.
  • Unexpected reversal of deleted flags in the AI-RAG prompts table following a user session.
  • AI prompt templates reappearing in the active library after administrator removal, without a corresponding admin audit entry.

Detection Strategies

  • Correlate web access logs for the revertRecycleBin path with the session's role claim to flag non-admin callers.
  • Enable database auditing on the AI-RAG prompts table to capture updates that clear the deleted column.
  • Compare current prompt inventory against the last known good administrator-approved baseline to surface silent restorations.

Monitoring Recommendations

  • Alert on any state-changing PUT or POST request to /airag/prompts/* endpoints from accounts without administrator privileges.
  • Monitor for repeated requests enumerating sequential template ids, which indicate scripted abuse.
  • Forward JeecgBoot application and access logs to a centralized SIEM for retention and correlation with identity events.

How to Mitigate CVE-2026-108667

Immediate Actions Required

  • Restrict network access to the JeecgBoot /airag/prompts/revertRecycleBin endpoint at the reverse proxy or web application firewall layer.
  • Review the AI-RAG prompts recycle bin and re-delete any templates restored outside of administrator workflows.
  • Audit account roles and remove unused low-privilege accounts that could be leveraged to call the endpoint.

Patch Information

At the time of publication, no fixed JeecgBoot release is listed in the NVD entry. Monitor the JeecgBoot repository and the VulnCheck Advisory on JeecgBoot for an official patch covering versions through 3.9.5.

Workarounds

  • Add a role-based access control filter in front of the AiragPromptsController that rejects non-administrator principals for recycle bin operations.
  • Block PUT /airag/prompts/revertRecycleBin at the gateway for all source IPs other than administrative subnets.
  • Disable or remove the AI-RAG prompts module if it is not required for your deployment.
bash
# Example NGINX reverse proxy rule restricting the vulnerable endpoint
location = /airag/prompts/revertRecycleBin {
    allow 10.0.0.0/24;   # administrative subnet
    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.