CVE-2026-35086 Apache OFBiz: Authenticated Remote Code Execution via Unsafe Template Expansion in email services

Medium 6.5 Published Updated

Authenticated attackers can execute arbitrary code via unsafe template expansion in Apache OFBiz email services.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-35086?

CVE-2026-35086 is a medium-severity code injection vulnerability in Apache Ofbiz, published on 19 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2026-35086?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2026-35086?

No fix has been published for CVE-2026-35086 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-35086 being exploited?

There is no known exploitation of CVE-2026-35086 in the wild and no public exploit code.

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-5gfp-86vp-f9mf.

Is CVE-2026-35086 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free