CVE-2026-35086

Apache OFBiz: Authenticated Remote Code Execution via Unsafe Template Expansion in email services

Published May 19, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The issue arises from the Apache OFBiz email services’ use of unsafe template expansion, leading to improper code generation. Based on the description, it is inferred that the vulnerability requires authentication, allowing an attacker who can log in to inject and execute arbitrary code on the server. The weakness is identified as a Code Injection vulnerability (CWE‑94). As a result, a compromise would allow full control of the affected system, including data exfiltration, modification, or further lateral movement.

Affected Systems

This vulnerability affects the Apache OFBiz product distributed by the Apache Software Foundation. All releases before version 24.09.06 are impacted. The fix is included in version 24.09.06 and later.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity. The EPSS score is reported as <1%, implying a very low probability of exploitation. The vulnerability is not listed in CISA's KEV catalog. Attackers still require authenticated access to the system; upon login they can craft a malicious template that will be expanded and executed on the server. While exploitation evidence is lacking, the combination of moderate severity and the potential to compromise the system fully means organizations should treat the vulnerability as significant and respond promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑provided patch by upgrading to Apache OFBiz 24.09.06 or later.
  • If an immediate upgrade is not possible, disable or remove the ability for users to create or submit arbitrary email templates, limiting the scope to authorized administrative accounts only.
  • Monitor login activity and audit logs for unauthorized attempts at template submission until the upgrade is complete.

Generated by OpenCVE AI on May 19, 2026 at 15:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache ofbiz
Vendors & Products Apache
Apache ofbiz
Type Values Removed Values Added
Description 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.
Title Apache OFBiz: Authenticated Remote Code Execution via Unsafe Template Expansion in email services
Weaknesses CWE-94
References
Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 3, 2026, 10:13 PM
Reserved
Apr 1, 2026, 10:11 AM
Status
Modified
Published
May 19, 2026, 10:16 AM
Modified
Nov 3, 2026, 11:17 PM