Code Injection in Apache OFBiz - CVE-2026-50223

 

Code Injection in Apache OFBiz - CVE-2026-50223

Published: August 25, 2026


Vulnerability identifier: #VU145221
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-50223
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper control of generation of code in the DataResource FreeMarker template handling functionality when processing attacker-controlled template content. A remote user can inject crafted template expressions to execute arbitrary code.

Exploitation requires Content/DataResource editing privileges.


Affected software

Apache OFBiz

How to mitigate CVE-2026-50223

Install security update from vendor's website.

Apache OFBiz - update to 24.09.07

External References

Related Security Bulletins