---
id: CVE-2026-85627
title: 'Apache OFBiz: Authenticated Code Execution Vulnerability'
summary: >-
  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-administrativ…
severity: none
cwe:
  - CWE-1336
  - CWE-425
vendor: Apache Software Foundation
product: Apache OFBiz
affected:
  - apache_ofbiz < 24.09.08
published: '2026-11-05'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T13:53:26.206Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-85627'
references:
  - url: 'https://lists.apache.org/thread.html/7b2syzksp7klt9fvhdg0olldvs2g83lz'
tags:
  - cve.org
ingestedAt: '2026-11-05T21:36:00.853Z'
---

## Overview

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

- `apache_ofbiz < 24.09.08`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
