CVE-2026-82910: Apache OFBiz: renderLink compiles link parameters as FreeMarker source
Improper Neutralization of Special Elements Used in a Template Engine ('Server-Side Template Injection') in MacroScreenRenderer in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only the two view permissions of a control-servlet webapp (e.g. CATALOGVIEW and OFBTOOLSVIEW on /catalog, held by OFBiz's own shipped order-entry clerk role) to execute arbitrary operating system commands as the OFBiz service account with a single GET request, by placing an apostrophe followed by FreeMarker expression source in a screen link parameter value, because renderLink concatenates link parameter values verbatim between apostrophes into an unquoted, unescaped template-source string that is compiled and evaluated at render time, allowing the injected expression to reach the allow-listed FlexibleStringExpander.expandString call and, through a runtime-assembled Groovy interpolation, unsandboxed code execution. Users are recommended to upgrade to version 24.09.08, which fixes this issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache OFBizto a version that resolves this vulnerability.Fixed in 24.09.08
Event History
Frequently Asked Questions
Which deployments and accounts are exposed?
Apache OFBiz 24.09 releases before 24.09.08 are affected on all platforms. Exploitation requires an authenticated account with the two view permissions for a control-servlet web application, such as CATALOG_VIEW and OFBTOOLS_VIEW on /catalog; the shipped order-entry clerk role has these permissions.
Does exploitation require user interaction or a complex attack sequence?
No. A remote authenticated attacker can trigger the issue with a single GET request by supplying a crafted screen link parameter value.
What level of access can an attacker gain?
Successful exploitation permits arbitrary operating system command execution as the OFBiz service account. The issue affects confidentiality, integrity, and availability.
What should teams do to remediate the issue?
Upgrade Apache OFBiz to version 24.09.08, which fixes the vulnerability.