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-108666 Overview
CVE-2026-108666 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in the deleteBatch handler of AiragPromptsController, which fails to verify ownership or role before deleting AI prompt templates. Any authenticated user, regardless of privilege level, can enumerate prompt identifiers through the unguarded list endpoint and submit them to deleteBatch to remove templates owned by administrators or other users. The issue affects the AI retrieval-augmented generation (AI RAG) prompts module and enables integrity impact against stored prompt assets.
Critical Impact
Low-privileged authenticated users can delete AI prompt templates created by any other user, including administrators, resulting in loss of integrity for the AI RAG prompts module.
Affected Products
- JeecgBoot through 3.9.5
- jeecg-boot-module-airag module
- AiragPromptsControllerdeleteBatch endpoint
Discovery Timeline
- 2026-10-10 - CVE-2026-108666 published to NVD
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-108666
Vulnerability Analysis
The vulnerability sits in the deleteBatch method of AiragPromptsController in the jeecg-boot-module-airag module. The handler accepts a list of prompt identifiers and removes the matching records without validating that the requesting user owns the records or holds administrative privileges. The companion list endpoint also lacks ownership scoping, so an authenticated attacker can enumerate every prompt identifier in the system before issuing deletions. This combination turns a routine CRUD endpoint into a cross-tenant integrity attack against the AI RAG prompts feature.
Root Cause
The root cause is a missing authorization check [CWE-862] in the delete handler. The controller performs authentication but does not enforce an ownership or role predicate before invoking the batch deletion. Framework-level route protection is also absent for the list endpoint, which supplies the identifiers needed to target other users' templates.
Attack Vector
An attacker needs a valid low-privileged account on the JeecgBoot instance. The attacker first queries the AI RAG prompts list endpoint to collect template identifiers, then submits those identifiers in a POST request to the deleteBatch endpoint. The server executes the delete without authorization validation. See the GitHub PoC Script and the vulnerable AiragPromptsController source 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 AttacksDetection Methods for CVE-2026-108666
Indicators of Compromise
- Unexpected disappearance of AI prompt templates from the AI RAG module.
- Audit log entries showing deleteBatch calls on /airag/prompts/ paths issued by non-administrative accounts.
- Clusters of batch delete requests following enumeration of the prompts list endpoint by a single session.
Detection Strategies
- Enable application-level audit logging for every call to AiragPromptsController.deleteBatch and correlate the actor identity against the owner of the targeted records.
- Alert when a single authenticated session queries the prompts list endpoint and immediately issues deletion requests for identifiers it did not create.
- Review web access logs for POST requests to the AI RAG prompts delete endpoint originating from accounts without administrative roles.
Monitoring Recommendations
- Forward JeecgBoot application and reverse-proxy logs to a centralized SIEM for behavioral analysis.
- Track the rate of prompt template deletions per user and baseline normal administrative activity.
- Monitor database audit trails on the AI RAG prompts table for bulk DELETE statements that bypass expected admin workflows.
How to Mitigate CVE-2026-108666
Immediate Actions Required
- Restrict network access to the JeecgBoot management interface to trusted administrators until a patch is applied.
- Disable or firewall the AiragPromptsController endpoints if the AI RAG prompts feature is not in use.
- Audit existing accounts and revoke unnecessary low-privilege logins that could reach the vulnerable handler.
Patch Information
At the time of publication, no fixed version is referenced in the NVD entry. Monitor the VulnCheck Security Advisory and the upstream JeecgBoot repository for a release that adds ownership and role enforcement to deleteBatch. Upgrade to a version later than 3.9.5 once vendor fixes are published.
Workarounds
- Add a reverse-proxy rule that restricts /airag/prompts/deleteBatch and the prompts list endpoint to administrator accounts or trusted source IPs.
- Apply a local source patch in AiragPromptsController that validates createBy ownership or administrative role before invoking the delete service.
- Back up the AI RAG prompts table on a regular schedule so deleted templates can be restored if abuse occurs.
# Example nginx restriction for the vulnerable endpoint
location /jeecg-boot/airag/prompts/deleteBatch {
allow 10.0.0.0/24; # admin 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

