{"id":"CVE-2026-85627","summary":"Apache OFBiz: Authenticated Code Execution Vulnerability","details":"Improper Neutralization of Special Elements Used in a Template Engine ('Server-Side Template Injection') in Apache OFBiz 24.09 before 24.09.08 on all platforms allows a remote authenticated attacker holding only a stock non-administrative account to execute arbitrary operating system commands as the OFBiz process user, by using the updateLayoutImage event, which writes DataResource fields with no permission check, to retype an attacker-created DataResource as an FTL template evaluating its own primary key, then using the resulting FreeMarker evaluation to plant an OFBiz Form Widget whose use-when attribute runs unsandboxed Groovy. Users are recommended to upgrade to version 24.09.08, which fixes this issue.","modified":"2026-11-12T02:48:37.223387440Z","published":"2026-11-05T13:53:26.206Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85627.json","unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"24.09.08"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}],"cna_assigner":"apache","cwe_ids":["CWE-1336","CWE-425"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85627.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread.html/7b2syzksp7klt9fvhdg0olldvs2g83lz"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85627"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/ofbiz-framework","events":[{"introduced":"0"},{"fixed":"a12cafc095b78fbba7978d26c6ad33dc0ce6cfae"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"24.09.08"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*"}]}}],"versions":["release24.09.07","release24.09.06","release24.09.05","release24.09.04","release24.09.03","release24.09.02","release24.09.01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85627.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}