CVE-2026-133679: Apache OFBiz: External Control of File Name or Path in SurveyWrapper Enables Server-Side Template Execution
External Control of File Name or Path in SurveyWrapper in Apache OFBiz 24.09 before 24.09.09 on all platforms allows a low-privileged authenticated user with catalog create and content upload permissions to execute an uploaded FreeMarker template on the server, with write access to the entity layer that allows escalation to full administrator, via a file: survey template location on a product store survey that is rendered when any shopper adds the product to the cart. Users are recommended to upgrade to version 24.09.09, which fixes this issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 24.09.09
Event History
Frequently Asked Questions
Which deployments are affected?
Apache OFBiz 24.09 releases before 24.09.09 are affected on all platforms. Exploitation requires a product store survey configured with a file: survey template location that is rendered when a shopper adds the associated product to the cart.
What access does an attacker need?
The attacker must be authenticated and have low-privileged access that includes catalog creation and content upload permissions. They can upload a FreeMarker template and cause the server to execute it through the survey template location.
Can this lead to administrator-level access?
Yes. The described template execution provides write access to the entity layer, which can be used to escalate privileges to full administrator.
What should organizations do if they use an affected version?
Upgrade Apache OFBiz to version 24.09.09. Until upgrading, restrict catalog creation and content upload permissions to trusted administrators and review product store surveys for file: template locations that could render uploaded content.