CVE-2026-9498: Dromara lamp-cloud Message Template GroovyClassLoader.parseClass special elements used in a template engine
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Remove
Remove
dromara/lamp-cloud Message Template Handlerfrom your environment.If the Message Template Handler is not required, uninstall or remove the component/module to eliminate the vulnerable functionality.
- Configuration
Disable acceptance or processing of user-supplied/untrusted DefMsgTemplate.content or disable the Message Template Handler until a vendor-supplied fix is available.
Dromara lamp-cloud Message Template Handler accept_untrusted_templates = false - Configuration
Prevent usage of GroovyClassLoader.parseClass for processing message templates — reject or validate template content before any Groovy parsing and remove any functionality that calls parseClass on untrusted DefMsgTemplate.content.
Groovy integration use_GroovyClassLoader.parseClass = disabled - Compensating control
Restrict network access to endpoints that accept or process message templates (Message Template Handler) to trusted IPs; place those endpoints behind a WAF or reverse proxy with rules to detect and block template-injection patterns targeting Groovy parsing.
- Operational
Monitor application and web logs for attempts targeting GroovyClassLoader.parseClass and DefMsgTemplate.content; if suspicious activity or compromise is detected, isolate affected hosts, perform incident response, and rotate any credentials or secrets that may have been exposed.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-9498?
CVE-2026-9498 has a medium severity rating of 6.3.
What impact does CVE-2026-9498 have on Dromara lamp-cloud?
CVE-2026-9498 impacts the GroovyClassLoader.parseClass function in the Message Template Handler, leading to improper neutralization of special elements.
How do I fix CVE-2026-9498?
To mitigate CVE-2026-9498, update Dromara lamp-cloud to version 5.6.3 or later.
Which versions of Dromara lamp-cloud are affected by CVE-2026-9498?
Dromara lamp-cloud versions up to 5.6.2 are affected by CVE-2026-9498.
What component of Dromara lamp-cloud is vulnerable in CVE-2026-9498?
The vulnerable component in CVE-2026-9498 is the Message Template Handler, specifically the GroovyClassLoader.parseClass function.