[ CVE-2026-83542 · Published 5 Nov 2026 ]

Vulnerability in Apache Software Foundation Apache OFBiz

CVSS 9.8 EPSS 1%1 agency advisory Fixed version listed

[ Why it matters ]Priority signals

  • Critical severity: CVSS 9.8

[ Description ]Official description

Improper Control of Generation of Code ('Code Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote unauthenticated attacker to execute arbitrary code on the server by staging crafted widget XML in a multipart upload and overriding the mainDecoratorLocation used by a manager login route through an anonymous JSON request, causing OFBiz to load the staged XML through its live screen descriptor mechanism and evaluate an unsandboxed Groovy expression while rendering the authentication-failure page. Further validation established the following: -- The exploit does not require a malformed or incomplete multipart body: a well-formed multipart request that is kept in flight and then allowed to complete normally is sufficient. -- The screen loader reads the widget XML from a live process file descriptor while the upload is streaming, rather than from any file the attacker persists to disk. -- The same underlying issue is also reachable through the public, explicitly unauthenticated /sfa/control/editPortalPageColumnWidth route, returning command output directly in an HTTP 200 response — it is not limited to the login-failure rendering path used in the original report. Users are recommended to upgrade to version 24.09.08, which fixes this issue.

[ Fixes ]How to fix it

Fixed versions

  • Apache Software Foundation Apache OFBiz: upgrade to 24.09.08 or laterEarlier versions are listed as affected

From the affected-version ranges in the CVE record. Check the vendor's advisory for the exact release for your platform or branch.

Vendor advisories and patches

Until you can patch: our advice

  1. Limit the feature that runs commands. This is an injection flaw that can run commands or code. If the affected feature or endpoint can be switched off, switch it off; limit the admin interface to trusted addresses; and watch for unexpected processes started by the service.
  2. Keep it off the internet. It can be attacked over the network without an account. Until you have patched, make sure the affected service is not reachable from the internet: close the port, or put it behind a VPN or a firewall allow-list.

[ Advisories ]Government CERT advisories