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

CVE-2026-108618: JeecgBoot Authorization Bypass Vulnerability

CVE-2026-108618 is an authorization bypass flaw in JeecgBoot that lets low-privileged users modify system message templates and inject malicious content. This article covers technical details, affected versions, and mitigation.

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-108618 Overview

CVE-2026-108618 is a missing authorization vulnerability [CWE-862] in JeecgBoot through version 3.9.5. The flaw resides in the PUT /sys/message/sysMessageTemplate/edit endpoint of the SysMessageTemplateController. Low-privileged authenticated users can modify system message templates without administrative rights. Attackers enumerate template identifiers through the unguarded list endpoint, then overwrite notification titles and body content. The modified templates deliver attacker-supplied text or links to any user who receives system notifications, enabling phishing and social-engineering vectors inside the application.

Critical Impact

Authenticated low-privilege users can tamper with system notification templates, injecting malicious content or links delivered to other users of the JeecgBoot platform.

Affected Products

  • JeecgBoot versions up to and including 3.9.5
  • jeecg-module-system component (SysMessageTemplateController)
  • Deployments exposing /sys/message/sysMessageTemplate/edit to authenticated users

Discovery Timeline

  • 2026-10-10 - CVE-2026-108618 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-108618

Vulnerability Analysis

The vulnerability stems from a missing authorization check on the message template edit handler in SysMessageTemplateController.java. The controller method bound to PUT /sys/message/sysMessageTemplate/edit requires only a valid authenticated session, with no role or permission validation. Any user who can obtain a JWT or session token to the JeecgBoot backend can issue the request. The companion list endpoint returns template records without restriction, exposing the primary key identifiers needed to target specific templates. An attacker combines these two behaviors to overwrite the templateName, templateCode, templateContent, and related fields of production notification templates. Downstream recipients see attacker-controlled text rendered inside legitimate system messages, which carries the trust of the application UI.

Root Cause

The root cause is absent access control enforcement on an administrative CRUD operation. The edit handler should restrict modifications to administrators or template owners, but no @RequiresPermissions or equivalent authorization annotation gates the call. The design assumes authentication implies authorization for sensitive message-template management, which violates least-privilege principles.

Attack Vector

Exploitation requires network access to the JeecgBoot web interface and a valid low-privilege account. The attacker calls the list endpoint under /sys/message/sysMessageTemplate/ to enumerate template id values. The attacker then issues a PUT request to /sys/message/sysMessageTemplate/edit with a JSON body containing a target template id and the malicious templateContent. Because the server trusts the request body, the record is updated. The next time the platform dispatches a notification using that template, recipients receive the attacker-supplied content. A proof-of-concept script is available in the GitHub PoC Repository, and the vulnerable handler is visible in the GitHub Source Code.

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

Indicators of Compromise

  • Unexpected PUT requests to /sys/message/sysMessageTemplate/edit originating from non-administrative accounts.
  • Audit log entries showing modifications to sys_message_template rows by users without template management roles.
  • System notifications containing unfamiliar URLs, shortened links, or content inconsistent with prior template versions.

Detection Strategies

  • Review web access logs for PUT /sys/message/sysMessageTemplate/edit and correlate the authenticated user against assigned roles.
  • Compare current templateContent and templateName values against a known-good baseline, flagging any drift.
  • Alert on sequential access patterns where a single low-privilege session calls the list endpoint followed by an edit request.

Monitoring Recommendations

  • Enable database change auditing on the sys_message_template table and forward events to a central log platform.
  • Monitor outbound notification volume for sudden spikes that may indicate weaponized templates.
  • Track authentication events for low-privilege accounts that interact with administrative API paths.

How to Mitigate CVE-2026-108618

Immediate Actions Required

  • Restrict access to /sys/message/sysMessageTemplate/* endpoints at the reverse proxy or API gateway to administrator roles only.
  • Audit all sys_message_template records for unauthorized changes and restore known-good content.
  • Rotate credentials for low-privilege accounts that are no longer required or that show suspicious activity.

Patch Information

No vendor-fixed version is listed in the NVD entry at publication. Monitor the VulnCheck Security Advisory and the upstream JeecgBoot repository for a release that adds a proper authorization check to the edit handler.

Workarounds

  • Apply a server-side filter or Spring interceptor that enforces an administrator role on the /sys/message/sysMessageTemplate/edit route.
  • Place the JeecgBoot admin APIs behind network segmentation that limits access to trusted operators.
  • Disable or remove unused low-privilege accounts to reduce the pool of credentials usable for exploitation.
bash
# Example NGINX rule to block the vulnerable endpoint from untrusted networks
location = /sys/message/sysMessageTemplate/edit {
    allow 10.0.0.0/24;   # admin management 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.