CVE-2026-9498 Details
Description
A vulnerability has been found in Dromara lamp-cloud up to 5.6.2. Impacted is the function GroovyClassLoader.parseClass of the component Message Template Handler. Such manipulation of the argument DefMsgTemplate.content leads to improper neutralization of special elements used in a template engine. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
A stored injection vulnerability allowing remote code execution has been identified in Dromara lamp-cloud versions through 5.6.2. The issue arises in the Message Template Handler, specifically within the GroovyClassLoader.parseClass function. The vulnerability is triggered by manipulating the DefMsgTemplate.content argument, leading to improper neutralization of special elements used in template processing. This flaw allows for the injection of arbitrary code that is executed on the server.
To address this vulnerability, Dromara lamp-cloud should implement a Groovy sandbox by using the GroovyClassLoader with a CompilerConfiguration that restricts dangerous operations. Additionally, script content should be validated against approved patterns to prevent arbitrary code execution. FreeMarker templates should be hardened by setting the built-in class resolver to a safer configuration and removing static model access. It is also recommended to require elevated permissions for fields that contain scripts and to sanitize template content to prevent code injection.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 25, 2026CISA-ADP
Assessed May 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Ku4D3/bug_story/blob/main/report_02.md | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/submit/814103 | [email protected] | Permission Required |
| https://vuldb.com/vuln/365481 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/365481/cti | [email protected] | AdvisoryPermission Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine | [email protected] |
| CWE-791 | Incomplete Filtering of Special Elements | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dromara lamp-cloud | <= 5.6.2 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 25, 2026 | New CVE Received | [email protected] |
Volerion