CVE-2026-31986

Apache OFBiz: Unauthenticated RCE via Default JWT Signing Key and Widget Template Injection

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

Analysis

AI-generated

Technical impact

The vulnerability is a hard‑coded cryptographic key that allows an attacker to forge JSON Web Tokens with the system’s default signing key and inject widget templates, resulting in remote code execution. Because the key is fixed and publicly known, an unauthenticated attacker can bypass authentication checks and execute arbitrary code on the host, compromising confidentiality, integrity, and availability.

Affected Systems

The flaw affects all installations of Apache OFBiz with a version earlier than 24.09.06. Vendors affected include the Apache Software Foundation, and the product is Apache OFBiz.

Risk and Exploitability

The CVSS score is 9.1, and the EPSS score of 0.00017 indicates a very low exploit probability; the vulnerability is not currently listed in CISA KEV, suggesting no common exploitation in the wild yet. However, because the flaw is unauthenticated and relies on a hard‑coded key that is known by all users, the risk of exploitation remains high. An attacker who can send a forged JWT or inject code into a widget can execute arbitrary commands on the target system. The lack of public exploit may reflect the difficulty or lack of discovery rather than low risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache OFBiz to version 24.09.06 or later, which removes the hard‑coded JWT signing key.
  • If upgrading is not possible, replace the default JWT signing key with a unique, securely generated key and update all related configuration files.
  • Sanitize widget template inputs and enforce strict content validation to prevent injection attacks.

Generated by OpenCVE AI on May 19, 2026 at 16:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, '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 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.
Title Apache OFBiz: Unauthenticated RCE via Default JWT Signing Key and Widget Template Injection
Weaknesses CWE-321
References
Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
May 19, 2026, 6:37 PM
Reserved
Mar 10, 2026, 4:21 PM
Status
Modified
Published
May 19, 2026, 10:16 AM
Modified
Oct 14, 2026, 8:10 PM