Every Apache OFBiz release before 24.09.08 has two remote code execution flaws reachable without login: CVE-2026-83542 (CVSS 9.8) and CVE-2026-68524 (CVSS 7.5). Upgrade to 24.09.08, then verify it, because the VERSION file in the fixed release only says 24.09, the same as every older 24.09 release.
Why it is dangerous
OFBiz renders pages from XML screen definitions, and widget attributes can carry Groovy that runs at render time. Before the fix, a JSON request body could copy keys into request attributes, and a request attribute with the same name shadows the trusted value from the webapp configuration. A crafted body could point the login failure path decorator at attacker supplied widget XML, and the renderer evaluated its Groovy. CVE-2026-68524 reaches the same result through an injected file: URI. Either way the code runs as the OFBiz service user. CISA rates CVE-2026-83542 automatable with total technical impact.
The fix, in PRs #1653 and #1654, skips body keys that already exist as configuration, and every widget load now passes a location check: file: URIs are rejected and other URLs must be component://.
Am I affected?
Yes, if the OFBiz serving traffic was built from anything older than the release24.09.08 tag, including all of 18.12. Check a record that names the patch release: git describe --tags should show release24.09.08 or later with a clean tree, or check the release zip name plus its .sha512 and .asc. Do not trust cat VERSION: it prints only the branch, 24.09, even on the fixed tag.
Fix it now
Back up the database, check out release24.09.08, build, and deploy into a new release directory. Then check what is actually running: take the PID from the service manager and read its launch command and classpath from /proc. In a container, compare image IDs and check no mount replaces the OFBiz tree.
What our lab checked
Our read-only classifier ran 16 synthetic fixtures: 9 of 9 old records unsafe, 9 of 9 ok after the fix, 7 of 7 normal fixtures unchanged. The lab runs no OFBiz code and does not test that 24.09.08 blocks either CVE; that rests on the Apache advisory and the fix PRs. One gap: a branch-only VERSION value reads as 24.09.0, so our reader would call a correctly upgraded checkout OLD. Use a clean git describe or the verified zip as your verdict.
If you cannot update today
No alternative mitigation is specified. Until the upgrade, restrict network access to the service, since both flaws are reached without login.
Our take
The VERSION file names the branch, so no script reading only VERSION can tell a patched OFBiz from an unpatched one. A clean tag, a verified zip, and a recorded commit are the records that change with the patch. If you maintain custom components, search them for request parameters ending in Location, Screen, Template, or Uri. The framework now guards its own path, and custom code can open a new one.
Read the full check-and-fix guide on System Design Simple: https://systemdesignsimple.com/apache-ofbiz-rce-check-and-fix/