Description
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.
Published: 2026-11-05
Score: n/a
EPSS: n/a
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Apache OFBiz 24.09 prior to 24.09.08 contains a server‑side template injection that permits an authenticated non‑administrative user to execute arbitrary operating system commands. The flaw is located in the updateLayoutImage event, which writes DataResource fields without a permission check. An attacker can create a DataResource referencing an FTL template; when the template engine evaluates its own primary key, unsandboxed Groovy code embedded in the use‑when attribute runs, leading to full OS command execution as the OFBiz process user.

Affected Systems

The affected product is Apache OFBiz version 24.09 and earlier releases up to 24.09.07 on all supported platforms. The issue only manifests for users with a standard account that can invoke the updateLayout event. No other products or later versions are impacted.

Risk and Exploitability

The vulnerability is exploitable only by authenticated users with standard access rights to the application. While the CVSS score is not publicly documented, the requirement of only ordinary credentials and the ability to run system commands yields a high risk. No EPSS data or KEV listing indicates that public exploitation is not yet widespread, yet the potential impact remains significant for unpatched installations. An attacker could trigger the flaw by sending crafted image update requests or by uploading a benign image that carries the malicious template payload.

Generated by OpenCVE AI on November 5, 2026 at 15:39 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache OFBiz to version 24.09.08 or newer.
  • Restrict non‑administrative accounts from invoking the updateLayoutImage event, or enforce stricter permission checks in the event handler.
  • If an upgrade is not possible immediately, disable the updateLayoutImage functionality or configure the template engine to sandbox or disallow FreeMarker template evaluation in user‑supplied data.

Generated by OpenCVE AI on November 5, 2026 at 15:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 05 Nov 2026 16:30: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 14:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache OFBiz: Authenticated Code Execution Vulnerability
Weaknesses CWE-1336
CWE-425
References

Subscriptions

Apache Ofbiz
Apache Software Foundation Apache Ofbiz
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-11-05T13:53:26.206Z

Reserved: 2026-09-04T11:07:05.500Z

Link: CVE-2026-85627

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

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

Modified: 2026-11-05T14:48:26.210

Link: CVE-2026-85627

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-05T16:00:18Z

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine

  • CWE-425

    Direct Request ('Forced Browsing')