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

CVE-2026-108879: JeecgBoot Information Disclosure Flaw

CVE-2026-108879 is an information disclosure vulnerability in JeecgBoot that allows authenticated users to access other users' AI chat variables through insecure direct object reference. This post covers 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-108879 Overview

CVE-2026-108879 is an Insecure Direct Object Reference (IDOR) vulnerability in JeecgBoot through version 3.9.5. The flaw resides in the AiragBaseApiController component, which exposes the /airag/api/getChatVariable endpoint. Authenticated users can read other users' AI chat variables by submitting a crafted POST request containing a target appId, username, and variable name. The server returns stored chat memory values from Redis without verifying that the requester owns the referenced account. This weakness is categorized under CWE-639: Authorization Bypass Through User-Controlled Key.

Critical Impact

Authenticated attackers can harvest sensitive AI chat memory belonging to any other user, exposing conversation context, prompts, and potentially embedded secrets stored in Redis.

Affected Products

  • JeecgBoot low-code platform versions through 3.9.5
  • The jeecg-boot-module-airag LLM integration module
  • Deployments exposing the /airag/api/ AI RAG API endpoints

Discovery Timeline

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

Technical Details for CVE-2026-108879

Vulnerability Analysis

The vulnerability exists in the AiragBaseApiController class within JeecgBoot's AI Retrieval-Augmented Generation (RAG) module. The getChatVariable handler accepts a username parameter from the request body and uses it directly as a lookup key for retrieving chat variables stored in Redis. The controller does not compare the submitted username against the authenticated principal from the session or token. As a result, any logged-in user can substitute another account's identifier and read that user's chat memory.

AI chat variables commonly contain conversation history, system prompts, user preferences, and intermediate agent state. Exposure of this data can leak confidential prompts, business logic, personally identifiable information, and in some cases API keys or credentials that applications store in conversation context.

Root Cause

The root cause is missing authorization enforcement on a user-controlled identifier. The controller treats the username request parameter as trusted input instead of deriving the owner from the authenticated session. Access to Redis-backed chat memory is therefore scoped by whatever value the client supplies rather than by the caller's actual identity.

Attack Vector

Exploitation requires only low-privileged authenticated access to the JeecgBoot application over the network. An attacker sends a POST request to /airag/api/getChatVariable with a JSON body specifying the victim's username, a valid appId, and the target variable name. The server responds with the victim's stored chat variable value. No user interaction is required, and the attack can be repeated across arbitrary usernames and variable keys to enumerate stored data.

Technical details and proof-of-concept are documented in the VulnCheck Security Advisory, the vulnerable JeecgBoot Controller Code, and a public GitHub PoC Repository.

Detection Methods for CVE-2026-108879

Indicators of Compromise

  • POST requests to /airag/api/getChatVariable where the username field in the request body does not match the authenticated session user.
  • Repeated requests to the same endpoint from one account iterating through multiple username or appId values, indicating enumeration.
  • Elevated read volume on Redis keys associated with AI chat variables outside normal application patterns.

Detection Strategies

  • Instrument the AiragBaseApiController endpoints with application-layer logging that records both the authenticated principal and the submitted username parameter for later correlation.
  • Deploy web application firewall or reverse proxy rules that flag requests to /airag/api/getChatVariable when request body identifiers diverge from session identity.
  • Baseline normal access patterns to AI RAG endpoints and alert on deviations such as high-cardinality username values from a single caller.

Monitoring Recommendations

  • Review historical access logs for /airag/api/getChatVariable requests since the AI RAG module was deployed to identify prior abuse.
  • Monitor Redis slow logs and command statistics for unusual GET patterns on chat variable keyspaces.
  • Alert on authenticated accounts generating anomalous volumes of POST requests to the airag API namespace.

How to Mitigate CVE-2026-108879

Immediate Actions Required

  • Restrict network exposure of the /airag/api/ endpoints to trusted internal consumers until a vendor patch is applied.
  • Audit all users with authenticated access to the JeecgBoot instance and remove inactive or unnecessary accounts.
  • Rotate any secrets, tokens, or credentials that may have been stored in AI chat variable memory.

Patch Information

As of the NVD publication date, no vendor-fixed version is listed in the enriched data for JeecgBoot above 3.9.5. Monitor the JeecgBoot GitHub repository and the VulnCheck Security Advisory for an official fix. Apply the patched release as soon as it becomes available and verify that the getChatVariable handler derives the owning user from the session rather than from request input.

Workarounds

  • Place an authenticating reverse proxy or API gateway in front of /airag/api/getChatVariable that rewrites or validates the username field against the session principal.
  • Temporarily disable the airag LLM module by removing the jeecg-boot-module-airag component if the AI RAG functionality is not in production use.
  • Segment the Redis instance backing chat variables so that it is not reachable from systems outside the JeecgBoot application tier, limiting blast radius if abuse occurs.
bash
# Example reverse proxy guardrail (nginx) blocking cross-user access attempts
# Requires an auth subrequest that sets $authenticated_user from the session
location = /airag/api/getChatVariable {
    access_by_lua_block {
        local cjson = require "cjson.safe"
        ngx.req.read_body()
        local body = ngx.req.get_body_data()
        local data = body and cjson.decode(body)
        if data and data.username and data.username ~= ngx.var.authenticated_user then
            return ngx.exit(403)
        end
    }
    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.