GHSA-862q-5rrg-cc9p
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify exposed OFBiz instance
-
DeliveryObtain Content editor credentials
-
ExploitAuthenticate to Content Manager
-
InstallInject FreeMarker/Groovy payload into DataResource
-
C2Trigger template rendering
-
ExecuteExecute commands as JVM user
-
ImpactPivot to database and host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) network reachability to the OFBiz web tier, (2) valid credentials for an authenticated OFBiz account, and (3) that account must hold Content or DataResource editing privileges (the CONTENTMGR/DATARESOURCE create-or-update permissions in OFBiz security groups) - anonymous browsing users and accounts limited to ecommerce checkout, order viewing, or other non-content roles cannot trigger the flaw. No user interaction by another party is required (UI:N) and the attack works against default-configuration OFBiz instances prior to 24.09.07; the chief limiting factor is the privileged role requirement, which is meaningful for hardened internal deployments but trivially satisfied where content editor accounts are widely provisioned or where weak/default credentials persist. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) accurately reflects a network-reachable, low-complexity attack that requires an authenticated account with the specific Content/DataResource editing role - not anonymous access. EPSS of 0.09% (26th percentile) is low and the CVE is not on CISA KEV, suggesting no observed mass exploitation yet, but this signal lags reality and OFBiz has a strong history of post-disclosure exploitation (multiple prior OFBiz RCEs were rapidly weaponized and added to KEV). Real-world risk is high for any Internet-exposed OFBiz instance where Content editor accounts can be obtained through weak credentials, default accounts, or self-registration flows; risk is materially lower for hardened, internal-only deployments with tight RBAC. Note that PR:L combined with the description's 'Content/DataResource editing privileges' indicates a privileged-but-common business role rather than admin, so treat any reachable instance as a priority patch target. |
| Exploit ScenarioDerived | An attacker obtains low-privileged credentials for an OFBiz account that carries Content or DataResource editing rights - for example through credential stuffing against an Internet-exposed instance, a phishing-stolen content editor account, or a default/weak seed account left over from initial deployment. The attacker authenticates to the Content Manager, creates or modifies a Content/DataResource record whose body contains a malicious FreeMarker or Groovy directive, then triggers rendering of that record to execute arbitrary commands as the OFBiz JVM user, pivoting to database credentials and lateral movement; publicly available exploit code exists via the oss-security disclosure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 11, 2026
Server-side template injection in Apache OFBiz before 24.09.07 allows authenticated users holding Content or DataResource editing privileges to inject template code that is rendered by the framework, resulting in remote code execution on the application server. The flaw is rated CVSS 8.8 with publicly available exploit code exists via the oss-security disclosure thread, though EPSS sits at 0.09% (26th percentile), indicating broad opportunistic exploitation has not yet been observed. Apache has shipped a fix in 24.09.07 and recommends immediate upgrade.
Earlier versions of this analysis (2)
Server-side template injection in Apache OFBiz versions prior to 24.09.07 allows an authenticated user holding Content or DataResource editing privileges to inject template code that the server evaluates, escalating to remote code execution on the application host. The flaw is rooted in OFBiz's content/data-resource templating pipeline (CWE-94) and is tracked in ENISA EUVD as EUVD-2026-36167. No public exploit identified at time of analysis, and EPSS is 0.09% (26th percentile), suggesting low currently observed exploitation despite the high CVSS of 8.8.
Remote code execution in Apache OFBiz before 24.09.07 is achievable by low-privileged authenticated users who possess Content/DataResource editing privileges, via FreeMarker server-side template injection. The vulnerability arises from insufficient controls over template generation within the DataResource editing interface, allowing injected template directives to be evaluated by the FreeMarker engine with server-side execution context. No public exploit code or active exploitation (CISA KEV) has been identified at time of analysis, but the RCE outcome makes this a high-priority upgrade target for any deployment where low-trust users hold content editing roles.
RemediationAI
Vendor-released patch: Apache OFBiz 24.09.07 - upgrade immediately following the migration guidance at https://ofbiz.apache.org/ and the announcement thread https://lists.apache.org/thread/trr2p4zokg54glqlhjnglt4yr7n8t5xd. If an upgrade cannot be applied immediately, restrict Content and DataResource editing privileges to a minimal, trusted set of accounts through OFBiz's security group permissions (revoke CONTENTMGR_CREATE/UPDATE and DATARESOURCE_CREATE/UPDATE from non-essential roles), disable any self-service or default seed users that may carry these permissions, and place the OFBiz web tier behind a reverse proxy that blocks access to /content, /contentmgr, and /webtools template editing endpoints from the Internet - accepting that this will break legitimate content editing workflows for blocked users. Monitor application logs for unusual FreeMarker/Groovy error traces from the screen renderer as a detection compensating control.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache OFBiz is an open-source enterprise resource planning (ERP) and e-commerce suite built on Java that uses an internal templating engine (FreeMarker/Groovy-based screen and form widgets) to render Content and DataResource entities. The Content/DataResource subsystem stores user-editable templates in the database and renders them through the framework's screen renderer, which historically has been a recurring attack surface in OFBiz (CVE-2023-49070, CVE-2023-51467, CVE-2024-45195 all involved similar template/script execution paths). CWE-94 (Improper Control of Generation of Code) here means input supplied through Content or DataResource editing screens is incorporated into a template that is later evaluated server-side without sufficient sandboxing, allowing FreeMarker or Groovy directives to break out and reach the underlying JVM.
Know when Ofbiz gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable web app (AV:N), no special timing or config (AC:L), requires an authenticated content-editor role (PR:L), no victim interaction (UI:N), full RCE on the JVM yields C/I/A:H.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
4Description PRE-NVD
Articles & Coverage 2
Executive ViewAI
Apache OFBiz, an enterprise resource planning system for supply chain and content management, contains CVE-2026-50223, which allows authenticated users with editing privileges to execute arbitrary code on the server-publicly available exploit code exists. Attackers with insider access or compromised credentials could fully compromise the entire system and its data. Vendor-released patch OFBiz 24.09.07 eliminates this risk and should be deployed immediately.
Apply vendor patch: OFBiz 24.09.07. Interim mitigations during patching window: restrict Content and DataResource editing privileges to minimum required accounts; implement monitoring and alerting on privileged account activity for exploitation indicators.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Incorrect Authorization vulnerability in Apache OFBiz.12.14. Rated critical severity (CVSS 9.8), this vulnerability is r
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz.12.13. Rate
The vulnerability permits attackers to circumvent authentication processes, enabling them to remotely execute arbitrary
Pre-auth RCE in Apache Ofbiz 18.12.09. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, n
Apache OFBiz has unsafe deserialization prior to 17.12.06. Rated critical severity (CVSS 9.8), this vulnerability is rem
Server-Side Request Forgery (SSRF), Improper Control of Generation of Code ('Code Injection') vulnerability in Apache OF
Apache OFBiz has unsafe deserialization prior to 17.12.07 version. Rated critical severity (CVSS 9.8), this vulnerabilit
Apache OFBiz has unsafe deserialization prior to 17.12.07 version An unauthenticated user can perform an RCE attack. Rat
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz.12.14. Rate
XML-RPC request are vulnerable to unsafe deserialization and Cross-Site Scripting issues in Apache OFBiz 17.12.03. Rated
Apache OFBiz 12.04.x before 12.04.06 and 13.07.x before 13.07.03 allow remote attackers to execute arbitrary commands vi
Direct Request ('Forced Browsing') vulnerability in Apache OFBiz.12.16. Rated high severity (CVSS 7.5), this vulnerabili
EUVD-2026-36167
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB