CVE-2026-29207
Description
Improper Neutralization of Special Elements Used in a Template Engine vulnerability in Apache OFBiz.
This issue affects Apache OFBiz: before 24.09.06.
Users are recommended to upgrade to version 24.09.06, which fixes the issue.
Please note that in the updated version, "Data Resource" records with dataTemplateTypeId = "FTL" are no longer supported.
Additionally, in the updated version, the "Ecommerce Customer" security group no longer includes content management grants. Users are advised to remove these permissions from any production site as well.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A server-side template injection in Apache OFBiz before 24.09.06 allows authenticated low-privilege users to achieve remote code execution via the Content component.
Vulnerability
A server-side template injection (SSTI) vulnerability exists in the Content component of Apache OFBiz. The software fails to properly neutralize special elements used in a template engine when processing Data Resource records with dataTemplateTypeId = "FTL". This allows an attacker who can create or modify such records to inject FreeMarker template directives. The issue affects Apache OFBiz versions before 24.09.06 [1].
Exploitation
An attacker must have authenticated access to the OFBiz application and possess sufficient privileges to create or edit Data Resource records (e.g., a member of the "Ecommerce Customer" security group which previously included content management grants). The attacker sets the dataTemplateTypeId field to "FTL" and embeds malicious FreeMarker template code in the resource content. When the Content component renders this resource, the injected code is executed [1].
Impact
Successful exploitation results in remote code execution (RCE) in the context of the OFBiz server. The attacker can execute arbitrary system commands, read or write files, and potentially compromise the entire application and underlying host. The injection occurs server-side, so no user interaction beyond the initial authenticated request is required [1].
Mitigation
Upgrade to Apache OFBiz version 24.09.06, released on 2026-05-19, which removes support for Data Resource records with dataTemplateTypeId = "FTL" and removes content management grants from the "Ecommerce Customer" security group. Users should also manually remove these permissions from any production sites as recommended in the advisory. No workaround is available for earlier versions [1].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- lists.apache.org/thread/3rcrp8bh3x6ovrj5xnc0fm1f0nrn52r0nvdMailing ListVendor Advisory
- www.openwall.com/lists/oss-security/2026/05/19/14nvd
News mentions
0No linked articles in our index yet.