CVE-2026-105330

Apache OFBiz: Use of Hard-coded Cryptographic Key in JWT Token Authentication Enables Unauthenticated Administrative Access

Published Nov 5, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Use of Hard-coded Cryptographic Key in JWT token authentication in Apache OFBiz 24.09.06 and 24.09.07 on all platforms allows an unauthenticated, network-reachable attacker to obtain full administrative access via a forged JWT signed with the factory-default security.token.key value that CVE-2026-31986 removed from newly generated configurations, on a deployment that upgraded from a release predating that fix while retaining its existing security.properties with security.internal.sso.enabled set to true. Users are recommended to upgrade to version 24.09.08. Upgrading alone does not replace an already-configured key: deployments that carried framework/security/config/security.properties forward from a release predating the CVE-2026-31986 fix must also run './gradlew rotateSecretKeys' after upgrading, since the existing generateSecretKeys task leaves an already-set value untouched.

Analysis

AI-generated

Technical impact

Apache OFBiz 24.09.06 and 24.09.07 contain a hard‑coded cryptographic key that is used to sign JSON Web Tokens. An attacker can construct a forged JWT signed with this factory‑default key, bypassing authentication and gaining unrestricted administrative access to the system. The weakness is a static key configuration flaw. This falls under the cryptographic misuse class identified by CWE-321.

Affected Systems

The vulnerability applies to deployments of Apache OFBiz released before 24.09.08 that use the security.token.key value set to the default factory key. It specifically affects 24.09.06 and 24.09.07 on all operating platforms, and any upgrade from a release older than CVE‑2026‑31986 that preserves the old security.properties file with security.internal.sso.enabled set to true. Versions 24.09.08 and newer have the hard‑coded key removed, but upgrades of existing installations must run the rotateSecretKeys task to replace the persistent key.

Risk and Exploitability

Based on the description, it is inferred that the attacker only needs network connectivity and does not require local privilege escalation. The attacker must be able to send requests to the OFBiz application over the network; no local privilege escalation is required. Because the key is known, forging a JWT is trivial and does not require any interaction beyond possessing network connectivity. The EPSS score of < 1% indicates a very low but non‑zero exploitation probability, while the CVSS score of 9.8 classifies the vulnerability as critical severity. The vulnerability is not listed in CISA KEV, yet the potential for high‑privilege account takeover makes it a high‑priority issue.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache OFBiz to version 24.09.08 or later.
  • If the installation retained the old security.properties file, run './gradlew rotateSecretKeys' to generate a new, unique secret key.
  • Verify that the security.token.key is no longer set to the factory default and that security.internal.sso.enabled is correctly configured or disabled if SSO is not required.

Generated by OpenCVE AI on November 15, 2026 at 09:24 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': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Apache
Apache ofbiz
Apache Software Foundation
Apache Software Foundation apache Ofbiz
Vendors & Products Apache
Apache ofbiz
Apache Software Foundation
Apache Software Foundation apache Ofbiz
Type Values Removed Values Added
Description Use of Hard-coded Cryptographic Key in JWT token authentication in Apache OFBiz 24.09.06 and 24.09.07 on all platforms allows an unauthenticated, network-reachable attacker to obtain full administrative access via a forged JWT signed with the factory-default security.token.key value that CVE-2026-31986 removed from newly generated configurations, on a deployment that upgraded from a release predating that fix while retaining its existing security.properties with security.internal.sso.enabled set to true. Users are recommended to upgrade to version 24.09.08. Upgrading alone does not replace an already-configured key: deployments that carried framework/security/config/security.properties forward from a release predating the CVE-2026-31986 fix must also run './gradlew rotateSecretKeys' after upgrading, since the existing generateSecretKeys task leaves an already-set value untouched.
Title Apache OFBiz: Use of Hard-coded Cryptographic Key in JWT Token Authentication Enables Unauthenticated Administrative Access
Weaknesses CWE-321
References
Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 10, 2026, 4:38 PM
Reserved
Oct 5, 2026, 9:58 AM
Status
Awaiting Analysis
Published
Nov 5, 2026, 2:16 PM
Modified
Nov 10, 2026, 5:17 PM