Skip to main content

Apache OFBiz CVE-2026-31986

| EUVDEUVD-2026-30873 CRITICAL
Use of Hard-coded Cryptographic Key (CWE-321)
2026-05-19 apache GHSA-xj47-w234-57fj
9.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI
9.1 CRITICAL

Open-source hard-coded key is network-recoverable with no auth or interaction (AV:N/AC:L/PR:N/UI:N), enabling decryption and forgery (C:H/I:H) but no availability loss (A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
Analysis Generated
Jul 23, 2026 - 17:51 vuln.today
Patch available
May 19, 2026 - 11:16 EUVD
CVE Published
May 19, 2026 - 09:34 cve.org
CRITICAL 9.1
CVE Published
May 19, 2026 - 09:34 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

AnalysisAI

Sensitive data exposure and integrity compromise in Apache OFBiz before 24.09.06 stems from a hard-coded cryptographic key (CWE-321) shipped with the product, meaning every deployment shares the same secret. Remote unauthenticated attackers who know or extract this key from the open-source codebase can decrypt or forge protected data, undermining any cryptographic protection that relies on it. No public exploit is identified at time of analysis, and EPSS rates near-term exploitation probability very low (0.02%), but SSVC scores the technical impact as total and automatable.

Technical ContextAI

Apache OFBiz is an open-source enterprise resource planning (ERP) and e-commerce suite (accounting, CRM, order/inventory/warehouse management) built on Java. The flaw is CWE-321 (Use of a Hard-coded Cryptographic Key): a cryptographic key is embedded directly in the shipped source/binary rather than generated per-installation or stored in an external secret. Because OFBiz is open source, any hard-coded key is trivially recoverable by reading the repository, so it provides no real secrecy - all instances running affected versions effectively share one publicly-derivable key. The single affected CPE is cpe:2.3:a:apache_software_foundation:apache_ofbiz, all versions prior to 24.09.06.

RemediationAI

Vendor-released patch: upgrade Apache OFBiz to version 24.09.06, which fixes the issue, per the Apache advisory at https://lists.apache.org/thread/2hl9xoqm8tq8b22x6vnmtp7tg3opcqgc. Because the root cause is a shared hard-coded key, upgrading alone may not be sufficient if the old key was already used to encrypt or sign existing data - after patching, rotate or re-encrypt any secrets, tokens, or stored data that depended on the previous key, following any key-rotation guidance in the advisory. As compensating controls until you can patch, restrict network exposure of the OFBiz application (place it behind a VPN or firewall and block direct Internet access to its HTTP/HTTPS ports), and monitor for anomalous access to endpoints handling encrypted data; the trade-off is reduced accessibility for legitimate remote users and no protection against an attacker who already has network reach.

CVE-2026-45434 CRITICAL
9.8 May 19

Remote code execution in Apache OFBiz before 24.09.06 stems from an improper authentication flaw in the password-change

CVE-2026-41919 CRITICAL
9.1 May 19

LDAP injection in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to inject special characters into

CVE-2026-46586 HIGH
8.8 May 19

Authenticated code injection in Apache OFBiz versions prior to 24.09.06 allows remote attackers with low-privileged acco

CVE-2026-31909 HIGH
7.5 May 19

Information disclosure in Apache OFBiz before 24.09.06 lets remote unauthenticated attackers retrieve sensitive data the

CVE-2026-31910 HIGH
7.5 May 19

Server-Side Request Forgery in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to coerce the server

CVE-2026-29226 HIGH
7.3 May 19

Server-Side Request Forgery in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to coerce the server

CVE-2026-31378 MEDIUM
6.5 May 19

Improper input validation in Apache OFBiz before 24.09.06 allows unauthenticated remote attackers to achieve partial con

CVE-2026-35086 MEDIUM
6.5 May 19

Code injection in Apache OFBiz's email services exposes all versions before 24.09.06 to unauthenticated remote exploitat

CVE-2026-31380 MEDIUM
6.5 May 19

Expression Language Injection in Apache OFBiz before 24.09.06 allows remote unauthenticated attackers to inject and eval

CVE-2026-29207 MEDIUM
6.5 May 19

Server-side template injection (SSTI) in Apache OFBiz before 24.09.06 allows attackers with access to the Ecommerce Cust

CVE-2026-29220 MEDIUM
6.5 May 19

Path traversal in Apache OFBiz before 24.09.06 exposes unauthenticated remote attackers to file read and limited file wr

CVE-2026-45187 MEDIUM
6.5 May 19

Improper Authorization in Apache OFBiz Webtools allows unauthenticated remote attackers to bypass access controls and ga

Share

CVE-2026-31986 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy