Authenticated code execution via unsandboxed Groovy templates
Published May 25, 2026 · Updated May 25, 2026
Code injection in Dromara lamp-cloud 5.6.2 and earlier allows remote authenticated users to execute arbitrary code through message templates. The message-template save path accepts unsanitized Groovy in DefMsgTemplate.script, and GlueFactory passes it to GroovyClassLoader.parseClass before running it. Administrative template-write access is required; execution occurs when the stored template is used, granting application-server code execution.
Summary
What happened
Code injection in Dromara lamp-cloud 5.6.2 and earlier allows remote authenticated users to execute arbitrary code through message templates. The message-template save path accepts unsanitized Groovy in DefMsgTemplate.script, and GlueFactory passes it to GroovyClassLoader.parseClass before running it. Administrative template-write access is required; execution occurs when the stored template is used, granting application-server code execution.
The record
- CVE
- CVE-2026-9498
- Published
- May 25, 2026
- Updated
- May 25, 2026
- Vendor
- Dromara
- Product
- lamp-cloud
- Classifications
- CWE-1336, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 25, 2026CVE publishedPublication date reported by the CVE source.
- May 25, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.6.0
- Affected versionversion=5.6.1
- Affected versionversion=5.6.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Stored Injection RCE via Message Template disclosureproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo