Template injection in Apache OFBiz lets authenticated users run OS commands
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution, Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-1336 and CWE-425.
Summary
Apache OFBiz 24.09 before 24.09.08 on all platforms is affected. Improper neutralization of special elements in a template engine (CWE-1336) lets a remote attacker with a stock non-administrative account run arbitrary operating system commands as the OFBiz process user. The updateLayoutImage event writes DataResource fields without a permission check, so the attacker can turn a self-created DataResource into an FTL template and then plant a Form Widget whose use-when attribute runs unsandboxed Groovy.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Apache OFBiz to version 24.09.08, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA Apache OFBiz (Apache Software Foundation) Fixed in 24.09.08
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Apache OFBiz — lists.apache.org/thread.html/7b2syzksp7klt9fvhdg0olldvs2g83…
46 records Highest priority Priority MEDIUM 7 MEDIUM, 39 LOW
Other records, highest priority first
- TI-2026-85437 Code injection in Apache OFBiz lets unauthenticated attackers run codePriority MEDIUM 51
- TI-2026-85431 Authentication bypass in Apache OFBiz through reusable login keysPriority MEDIUM 50
- TI-2026-85438 Incorrect authorization in Apache OFBiz lets attackers run commandsPriority MEDIUM 42
Vendor assessments
Timeline
- 2026-11-05 Threatist record created from CVE-2026-85627
- 2026-11-05 Alias added: GHSA-m9vc-x798-vm7f
- 2026-11-06 CISA SSVC decision points changed
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
- 2026-11-06 CVSS score added · CISA ADP
- 2026-11-06 CISA SSVC decision points changed
- 2026-11-07 Priority changed: LOW → MEDIUM
References
More Apache vulnerabilities
- TI-2025-18529 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Apache OFBiz: Confused controller-view authorization logic (forced browsing) KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Apache OFBiz: Unauthenticated endpoint could allow execution of screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Apache OFBiz: Path traversal leading to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2024-18186 Apache HugeGraph-Server: Command execution in gremlin KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25106 Deserialization of untrusted data in Apache ActiveMQ KEVCVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-85627 · CVE Program
- CVE-2026-85627 · NVD
- FIRST EPSS
- GHSA-m9vc-x798-vm7f · GitHub Advisory Database · CC BY 4.0
- CVE-2026-85627 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences