/

CVE-2026-69100

Severity:

HIGH RISK

(8.8)

Remote Code Execution (CWE-94) in LAMP GlueFactory

CVE-2026-69100

Awaiting Analysis

Vulnerability type

Category:

Code Injection

CWE:

CWE-94

Impact:

Remote Code Execution

Severity:

HIGH RISK

(8.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

LAMP Rapid Development Platform through version 5.6.2 contains a code injection vulnerability in GlueFactory, where database template fields are evaluated as unsandboxed Groovy scripts. An attacker who can write to or influence a message template field may execute arbitrary Groovy code and operating-system commands on the backend server.

Affected context

The vulnerability occurs in deployments using GlueFactory to process message templates whose script-related fields are stored in or sourced from the database. Risk increases when an attacker can create or modify templates through exposed message-template endpoints and when the backend evaluates those fields without sandboxing, compilation restrictions, or an allowlist of permitted operations.

Exploit preconditions

  • Attack surface: Message template management and processing endpoints
  • Required access: Ability to write, modify, or otherwise influence a database-backed template field
  • Trigger point: Backend processing of the affected template by GlueFactory
  • Why exploitation is possible: User-influenced content is executed as unrestricted Groovy code without effective sandboxing, compilation controls, or method and class whitelisting

Why this happens

The underlying flaw is the treatment of database-sourced template content as executable Groovy rather than as constrained data. GlueFactory evaluates the script field without enforcing a safe execution policy, allowing attacker-controlled expressions to reach powerful language and operating-system capabilities. This maps to CWE-94: Improper Control of Generation of Code, because externally influenced input is incorporated into executable code without adequate restriction.

Potential impact

  • An attacker may execute arbitrary code on the backend server
  • The application could be compromised or disrupted
  • Sensitive files, credentials, or environment data may be exposed
  • The attacker could alter application data or message-processing behavior
  • The compromised server could be used for lateral movement or further attacks

General mitigation guidance

Mitigation generally centers on preventing untrusted template content from becoming executable code and reducing the privileges available to template-processing components.

Common defensive patterns include:

  • Treating database template fields as data and using a constrained, non-executable templating language
  • Applying strict parsing, schema validation, and allowlists to template inputs
  • Using a properly isolated and policy-restricted execution environment when dynamic logic is unavoidable
  • Separating template rendering from sensitive backend capabilities
  • Restricting access to message-template creation and modification operations
  • Running the backend with least-privilege service accounts and limited filesystem, network, and process permissions
  • Avoiding secrets and administrative capabilities in the template-processing runtime

How teams detect issues like this

Detection can focus on identifying paths where database values or request-controlled fields are passed into Groovy evaluation or other dynamic code-generation APIs.

Useful approaches include:

  • Static analysis rules for Groovy script compilation, evaluation, reflection, and process-execution APIs
  • Code review checks for template fields that are treated as scripts or expressions
  • Tracing data flow from message-template endpoints and database reads into dynamic execution sinks
  • Runtime monitoring for unexpected child processes, command interpreters, file access, or outbound connections from the backend
  • Policy enforcement that prohibits executable template content unless it uses an approved restricted engine
  • Neutral automated security review tools to flag unsandboxed dynamic evaluation and missing allowlists

Sources

SourceLink
github.comgithub.com/dromara/lamp-cloud/commit/84b0c27d3693e468c2c690d9fbc8ea9c22cd34e3
github.comgithub.com/dromara/lamp-cloud/issues/408
vulncheck.comvulncheck.com/advisories/lamp-gluefactory-unsandboxed-groovy-script-remote-code-execution

Frequently asked

questions

It may be remotely exploitable when message-template endpoints are reachable by an attacker who is authorized or otherwise able to create or modify the affected template fields.

The key requirement is the ability to influence a database-backed script or template field that GlueFactory later processes. The exact access level depends on the deployment's endpoint authorization and tenant isolation.

The safest pattern is to prevent template content from being evaluated as general-purpose code. Use a non-executable templating model or a tightly restricted engine with explicit allowlists and isolation.

Treat database and request-derived content as untrusted, apply strict authorization and validation to template-management operations, scan for dynamic execution sinks, and run processing components with minimal privileges.

Find out what's already
exploitable in your codebase.