CVE-2026-31986 Apache OFBiz: Unauthenticated RCE via Default JWT Signing Key and Widget Template Injection

Critical 9.1 Published Updated

Attackers can achieve remote code execution in Apache OFBiz by exploiting a hard-coded JWT signing key and widget template injection.

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-31986?

CVE-2026-31986 is a critical 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

Use of Hard-coded Cryptographic Key vulnerability in 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-321

Which versions are affected by CVE-2026-31986?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2026-31986?

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

Is CVE-2026-31986 being exploited?

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

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-xj47-w234-57fj.

Is CVE-2026-31986 in your software?

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

Check your SBOMs for free