Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Network-reachable email service requires no auth; integrity raised to High because code injection by definition enables arbitrary alteration of application logic and data.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
Improper Control of Generation of Code ('Code Injection') vulnerability in email services of 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.
AnalysisAI
Code injection in Apache OFBiz's email services exposes all versions before 24.09.06 to unauthenticated remote exploitation via CWE-94. The CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms no authentication or special configuration is required, and SSVC classifies the attack as automatable - meaning it can be scripted at scale. Despite the RCE tag attached by intelligence sources, CVSS impact metrics are capped at C:L/I:L/A:N and EPSS sits at 0.03% (8th percentile), indicating no public exploitation observed at time of analysis and no CISA KEV listing.
Technical ContextAI
Apache OFBiz is an open-source Java-based enterprise resource planning (ERP) platform. The flaw is classified as CWE-94 (Improper Control of Code Generation), a root cause where attacker-supplied input reaches a code-generation or template-evaluation layer without sufficient sanitization, resulting in execution of injected instructions. The vulnerable surface is specifically the email services subsystem, which commonly involves template engines (e.g., Freemarker, Groovy scripting) used to render dynamic email bodies. CPE data (cpe:2.3:a:apache_software_foundation:apache_ofbiz:*:*:*:*:*:*:*:*) confirms the entire pre-24.09.06 release lineage is affected. The unchanged scope (S:U) in the CVSS vector indicates exploitation is contained within the OFBiz application boundary.
RemediationAI
Vendor-released patch: 24.09.06. Organizations should upgrade Apache OFBiz to version 24.09.06 or later immediately, as confirmed by the Apache advisory at https://lists.apache.org/thread/g0s37yhnh2xwfts400crb2w8s337hgjx. If an immediate upgrade is not feasible, restrict external network access to all OFBiz email service endpoints at the perimeter firewall or reverse proxy layer - note this will disable outbound email functionality until patching is complete. Additionally, deploy a WAF rule to inspect and block requests containing template expression syntax (e.g., Freemarker ${...} or Groovy script markers) targeting OFBiz email routes as a partial compensating control, accepting the trade-off that pattern matching may produce false positives. Further technical context is available from the oss-security post at http://www.openwall.com/lists/oss-security/2026/05/19/26.
More in Apache Ofbiz
View allRemote code execution in Apache OFBiz before 24.09.06 stems from an improper authentication flaw in the password-change
LDAP injection in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to inject special characters into
Sensitive data exposure and integrity compromise in Apache OFBiz before 24.09.06 stems from a hard-coded cryptographic k
Authenticated code injection in Apache OFBiz versions prior to 24.09.06 allows remote attackers with low-privileged acco
Information disclosure in Apache OFBiz before 24.09.06 lets remote unauthenticated attackers retrieve sensitive data the
Server-Side Request Forgery in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to coerce the server
Server-Side Request Forgery in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to coerce the server
Improper input validation in Apache OFBiz before 24.09.06 allows unauthenticated remote attackers to achieve partial con
Expression Language Injection in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to inject and eval
Server-side template injection (SSTI) in Apache OFBiz before 24.09.06 allows attackers with access to the Ecommerce Cust
Path traversal in Apache OFBiz before 24.09.06 exposes unauthenticated remote attackers to file read and limited file wr
Improper Authorization in Apache OFBiz Webtools allows unauthenticated remote attackers to bypass access controls and ga
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30872
GHSA-5gfp-86vp-f9mf