Skip to main content

Apache OFBiz EUVDEUVD-2026-36167

| CVE-2026-50223 HIGH
Code Injection (CWE-94)
8.8
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify exposed OFBiz instance
  2. Delivery
    Obtain Content editor credentials
  3. Exploit
    Authenticate to Content Manager
  4. Install
    Inject FreeMarker/Groovy payload into DataResource
  5. C2
    Trigger template rendering
  6. Execute
    Execute commands as JVM user
  7. Impact
    Pivot 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 11, 2026 - 16:27 cvss changed CVSS 8.8

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.

v1 Jun 10, 2026 - 18:16

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

Apache OFBiz 0 <24.09.07

Affected Packages

euvd apache_ofbiz fix: 24.09.07

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

Vendor (CNA) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Jun 11, 2026 - 16:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 11, 2026 - 16:27 vuln.today
v2 - CVSS changed
CVSS changed
Jun 11, 2026 - 16:22 NVD
8.8 (HIGH)
Patch available
Jun 11, 2026 - 02:00 EUVD

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 74% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in Ofbiz

View all
CVE-2024-38856 CRITICAL POC
9.8 Aug 05

Incorrect Authorization vulnerability in Apache OFBiz.12.14. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2024-32113 CRITICAL POC
9.8 May 08

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz.12.13. Rate

CVE-2023-51467 CRITICAL POC
9.8 Dec 26

The vulnerability permits attackers to circumvent authentication processes, enabling them to remotely execute arbitrary

CVE-2023-49070 CRITICAL POC
9.8 Dec 05

Pre-auth RCE in Apache Ofbiz 18.12.09. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, n

CVE-2021-26295 CRITICAL POC
9.8 Mar 22

Apache OFBiz has unsafe deserialization prior to 17.12.06. Rated critical severity (CVSS 9.8), this vulnerability is rem

CVE-2024-45507 CRITICAL POC
9.8 Sep 04

Server-Side Request Forgery (SSRF), Improper Control of Generation of Code ('Code Injection') vulnerability in Apache OF

CVE-2021-30128 CRITICAL POC
9.8 Apr 27

Apache OFBiz has unsafe deserialization prior to 17.12.07 version. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2021-29200 CRITICAL POC
9.8 Apr 27

Apache OFBiz has unsafe deserialization prior to 17.12.07 version An unauthenticated user can perform an RCE attack. Rat

CVE-2024-36104 CRITICAL POC
9.1 Jun 04

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Apache OFBiz.12.14. Rate

CVE-2020-9496 MEDIUM POC
6.1 Jul 15

XML-RPC request are vulnerable to unsafe deserialization and Cross-Site Scripting issues in Apache OFBiz 17.12.03. Rated

CVE-2016-2170 CRITICAL
9.8 Apr 12

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

CVE-2024-45195 HIGH POC
7.5 Sep 04

Direct Request ('Forced Browsing') vulnerability in Apache OFBiz.12.16. Rated high severity (CVSS 7.5), this vulnerabili

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy