Description
Improper Neutralization of Special Elements Used in an Expression Language Statement ('Expression Language Injection') in EmailServices in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only OFBTOOLS_VIEW and ACCOUNTING_VIEW, the two view-level permissions that open the Accounting application, to execute arbitrary operating system commands as the account running OFBiz, by submitting a ${groovy:...} expression as the bodyText or subject value to the shipped Send Per Email invoice form, because sendMailFromScreen passes those caller-supplied values through FlexibleStringExpander.expandString, which compiles and evaluates embedded Groovy on a class loader that carries none of the SecureASTCustomizer restrictions GroovyUtil.eval applies elsewhere, behind a service and request-map that declare no permission check beyond base authentication. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
Published: 2026-11-05
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is an expression language injection in Apache OFBiz 24.09 before 24.09.08. A remote authenticated attacker with only the basic view permissions OFBTOOLS_VIEW and ACCOUNTING_VIEW can supply a Groovy expression inside the bodyText or subject fields of the Send Per Email invoice form. The service passes these values to FlexibleStringExpander.expandString, which compiles the embedded Groovy code without the security restrictions normally applied by GroovyUtil.eval. As a result, the attacker can execute arbitrary operating system commands as the user account that runs the OFBiz application, allowing complete compromise of the system. This is a classic instance of CWE‑917.

Affected Systems

Affected systems are any instances of Apache OFBiz version 24.09 running on any supported platform, before the release of 24.09.08. The vulnerability exists in the built‑in EmailServices service used by the send‑mail functionality provided through the Accounting application. No specific operating system or deployment type is excluded; the flaw is inherent to the code base.

Risk and Exploitability

The CVSS score of 8.8, combined with no EPSS data and absence from the CISA KEV catalog, indicates a high severity vulnerability that has not yet been widely exploited. The capability requires only authenticated access with minimal privileges and offers remote code execution, which is the highest impact level. Because the privileged permissions required are commonly granted to users who need to process invoices, the attack surface is significant. Until the patch is applied, the vulnerability remains a high‑risk concern for any deployed OFBiz 24.09 instance.

Generated by OpenCVE AI on November 5, 2026 at 17:44 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache OFBiz to version 24.09.08 or later, which removes the unsandboxed Groovy evaluation.
  • If an upgrade cannot be performed immediately, restrict the Send Per Email invoice form from untrusted users by removing or disabling the associated service or form in the application configuration.
  • Audit and reduce the OFBTOOLS_VIEW and ACCOUNTING_VIEW permissions for accounts that do not require access to the Accounting application; apply the principle of least privilege so that only essential users can invoke the send‑mail service.

Generated by OpenCVE AI on November 5, 2026 at 17:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 05 Nov 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache ofbiz
Apache Software Foundation
Apache Software Foundation apache Ofbiz
Vendors & Products Apache
Apache ofbiz
Apache Software Foundation
Apache Software Foundation apache Ofbiz

Thu, 05 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 05 Nov 2026 14:15:00 +0000

Type Values Removed Values Added
Description Improper Neutralization of Special Elements Used in an Expression Language Statement ('Expression Language Injection') in EmailServices in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only OFBTOOLS_VIEW and ACCOUNTING_VIEW, the two view-level permissions that open the Accounting application, to execute arbitrary operating system commands as the account running OFBiz, by submitting a ${groovy:...} expression as the bodyText or subject value to the shipped Send Per Email invoice form, because sendMailFromScreen passes those caller-supplied values through FlexibleStringExpander.expandString, which compiles and evaluates embedded Groovy on a class loader that carries none of the SecureASTCustomizer restrictions GroovyUtil.eval applies elsewhere, behind a service and request-map that declare no permission check beyond base authentication. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
Title Apache OFBiz: Unsandboxed Groovy compiled from a service parameter
Weaknesses CWE-917
References

Subscriptions

Apache Ofbiz
Apache Software Foundation Apache Ofbiz
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-11-05T15:54:16.737Z

Reserved: 2026-08-31T10:24:02.678Z

Link: CVE-2026-82912

cve-icon Vulnrichment

Updated: 2026-11-05T15:54:07.324Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-05T14:17:06.200

Modified: 2026-11-05T16:17:49.183

Link: CVE-2026-82912

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T16:45:06Z

Weaknesses
  • CWE-917

    Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')