CVE-2026-85627: Apache OFBiz: Authenticated Code Execution Vulnerability
Improper Neutralization of Special Elements Used in a Template Engine ('Server-Side Template Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only a stock non-administrative account to execute arbitrary operating system commands as the OFBiz process user, by using the updateLayoutImage event, which writes DataResource fields with no permission check, to retype an attacker-created DataResource as an FTL template evaluating its own primary key, then using the resulting FreeMarker evaluation to plant an OFBiz Form Widget whose use-when attribute runs unsandboxed Groovy. 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
Who can exploit this vulnerability?
A remote attacker needs only a stock non-administrative OFBiz account. The issue affects Apache OFBiz 24.09 versions before 24.09.08 on all platforms.
What level of access does successful exploitation provide?
Successful exploitation allows execution of arbitrary operating system commands as the user account running the OFBiz process.
Is a default non-administrative account sufficient for exploitation?
Yes. The issue can be exploited by an authenticated user holding only a stock non-administrative account; administrative privileges are not required.
What is the available remediation?
Upgrade Apache OFBiz to version 24.09.08. This version fixes the vulnerability.