CVE-2026-31387

Apache OFBiz: Cookie Manipulation Allows Authenticated JWT Forgery and Account Impersonation

Published May 19, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Improper Authentication 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

An improper authentication flaw in Apache OFBiz allows an attacker with a valid authenticated session to manipulate session cookies and forge JSON‑Web Tokens (JWTs). By tampering with the token, the attacker can impersonate other user accounts and gain unauthorized access to sensitive functions or data. The weakness is a classic authentication bypass (CWE‑287).

Affected Systems

Apache OFBiz versions released before 24.09.06 are vulnerable. Systems running those earlier releases must verify whether the vulnerability applies to their configuration.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, and the EPSS score of < 1% suggests a low likelihood of exploitation; it is not listed in the CISA KEV catalog. However, the attack requires only authenticated access and basic cookie manipulation, which is straightforward for a malicious actor who has compromised a user account. Given the potential for full account impersonation, the risk remains significant until the product is updated or mitigated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache OFBiz to version 24.09.06 or later, which contains the fix.
  • Configure the application to enforce HttpOnly, Secure, and SameSite=Strict attributes on all authentication cookies and validate JWT signatures against the server‑side secret on every request.
  • Deploy application layer monitoring or a web‑application firewall rule to detect abnormal JWT token structures or unauthorized cookie changes, and alert security staff of potential tampering events.

Generated by OpenCVE AI on May 19, 2026 at 15:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Apache
Apache ofbiz
CPEs cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
Vendors & Products Apache
Apache ofbiz
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper Authentication 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: Cookie Manipulation Allows Authenticated JWT Forgery and Account Impersonation
Weaknesses CWE-287
References
Weaknesses

Sources

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