Skip to content

CVE-2026-82912 Apache OFBiz: Unsandboxed Groovy compiled from a service parameter

HighCVSS 8.8 EPSS 0.83%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Apache OFBiz < 24.09.08 24.09.08 Fixed
apache ofbiz < 24.09.08 24.09.08 Fixed

Affected products

ProductAffected versionsFixed in
Apache OFBiz < 24.09.08 24.09.08
apache ofbiz < 24.09.08 24.09.08

References