Code injection in Apache OFBiz lets unauthenticated attackers run code
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-94.
Summary
Apache OFBiz 24.09 before 24.09.08 on all platforms is affected. Improper control of code generation (CWE-94) lets the server evaluate attacker-supplied Groovy expressions while it renders widget XML. A remote unauthenticated attacker can execute arbitrary code on the server.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Apache OFBiz to version 24.09.08, which fixes this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-05
- Fix · CNA Apache OFBiz (Apache Software Foundation) Fixed in 24.09.08
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Apache OFBiz — lists.apache.org/thread.html/7b2syzksp7klt9fvhdg0olldvs2g83…
46 records Highest priority Priority MEDIUM 7 MEDIUM, 39 LOW
Other records, highest priority first
- TI-2026-85431 Authentication bypass in Apache OFBiz through reusable login keysPriority MEDIUM 50
- TI-2026-85438 Incorrect authorization in Apache OFBiz lets attackers run commandsPriority MEDIUM 42
- TI-2026-85435 Code injection in Apache OFBiz CMS enables OS command executionPriority MEDIUM 41
Timeline
- 2026-11-05 Threatist record created from CVE-2026-83542
- 2026-11-05 Alias added: GHSA-98rg-5rx4-6c7x
- 2026-11-05 CVSS score added · CISA ADP
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-05 Priority changed: LOW → MEDIUM
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-06 CISA SSVC decision points changed
- 2026-11-06 CISA SSVC decision points changed
References
More Apache vulnerabilities
- TI-2025-18529 Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Apache OFBiz: Confused controller-view authorization logic (forced browsing) KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Apache OFBiz: Unauthenticated endpoint could allow execution of screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Apache OFBiz: Path traversal leading to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2024-18186 Apache HugeGraph-Server: Command execution in gremlin KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25106 Deserialization of untrusted data in Apache ActiveMQ KEVCVSS 3.1CRITICAL 10.0
Sources
- CVE-2026-83542 · CVE Program
- CVE-2026-83542 · NVD
- FIRST EPSS
- GHSA-98rg-5rx4-6c7x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences