CVE-2026-105330: Apache OFBiz: Use of Hard-coded Cryptographic Key in JWT Token Authentication Enables Unauthenticated Administrative Access
Exploitation: None known · CVSS 9.8 Critical · Unauthenticated · Published 2026-11-05
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.
Enclave's analysis
Apache OFBiz 24.09.06 and 24.09.07 can accept a forged JWT signed with the old factory-default key. That gives an unauthenticated attacker full admin access. It only hits deployments upgraded from before the CVE-2026-31986 fix that kept their old security.properties with SSO on. No exploitation or public exploit is known yet. Upgrade to 24.09.08 and run ./gradlew rotateSecretKeys.
Fix
Upgrade to 24.09.08.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Apache OFBiz | 24.09.06 before 24.09.08 | 24.09.08 |