CVE-2026-46586
Apache OFBiz vulnerability analysis and mitigation

Overview

CVE-2026-46586 is a code injection and eval injection vulnerability in Apache OFBiz that allows authenticated attackers with low privileges to execute arbitrary Groovy code on the server. The vulnerability is formally described as "Improper Validation in traverseContent Service Enables Authenticated Groovy Code Execution" and affects all Apache OFBiz versions before 24.09.06. It was disclosed on May 19, 2026, by Jacopo Cappellato via the oss-security mailing list, with credit to researcher "lwd3c" as the finder. The CVSS v3.1 base score is 8.8 (High) per NVD/Feedly data, though the GitHub Advisory Database independently scores it at 7.3 (High) (GitHub Advisory, oss-security).

Technical details

The vulnerability is rooted in improper input validation within the traverseContent service of Apache OFBiz, classified under CWE-94 (Improper Control of Generation of Code) and CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code / Eval Injection). An authenticated attacker can supply crafted input to this service that is subsequently passed to a dynamic code evaluation mechanism (Groovy scripting engine), allowing arbitrary code execution. The attack vector is network-based, requires low privileges (authenticated user), no user interaction, and has low attack complexity, making it straightforward to exploit once credentials are obtained (oss-security, GitHub Advisory).

Impact

Successful exploitation allows any authenticated user to execute arbitrary Groovy code on the OFBiz server with the privileges of the application process, resulting in high impact to confidentiality, integrity, and availability. An attacker could exfiltrate sensitive business data (ERP records, customer data, financial information), modify or destroy application data, install backdoors, or disrupt service availability. The potential for lateral movement within the hosting environment is significant if the OFBiz process has broad system or network access (GitHub Advisory, oss-security).

Exploitability

As of the disclosure date, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.029% (0.000290), indicating a currently low probability of exploitation in the near term. No threat actor attribution has been reported. The Apache security team rated the severity as "low" in the oss-security disclosure, though the CVSS score reflects a high technical impact if exploited (oss-security).

Exploitation steps

  1. Reconnaissance: Identify internet-facing Apache OFBiz instances running versions prior to 24.09.06 using tools like Shodan or Censys, or by checking the OFBiz version endpoint.
  2. Obtain credentials: Acquire valid OFBiz user credentials (even low-privilege accounts) through phishing, credential stuffing, or other means, as authentication is required.
  3. Identify the vulnerable service: Locate the traverseContent service endpoint within the OFBiz application, which improperly handles user-supplied input.
  4. Craft malicious payload: Construct a request to the traverseContent service containing a Groovy code snippet (e.g., "cmd".execute().text or a reverse shell payload) embedded in the input parameter that will be evaluated dynamically.
  5. Submit the request: Send the crafted HTTP request to the OFBiz server while authenticated; the server evaluates the injected Groovy code in the context of the application process.
  6. Achieve code execution: The injected Groovy code executes server-side, enabling command execution, data exfiltration, or deployment of a persistent backdoor (oss-security, GitHub Advisory).

Indicators of compromise

  • Network: Unusual or unexpected outbound connections from the OFBiz server process to external IPs; HTTP requests to the traverseContent service endpoint containing Groovy-like syntax (e.g., .execute(), Runtime, ProcessBuilder) in parameters.
  • Logs: OFBiz application logs showing errors or stack traces related to Groovy script evaluation; access logs with authenticated requests to the traverseContent service with anomalous parameter values.
  • Process: Unexpected child processes spawned by the OFBiz Java process (e.g., /bin/sh, cmd.exe, curl, wget, python); unusual process trees originating from the application server.
  • File System: New or modified files in the OFBiz installation directory, particularly web shells, scripts, or unexpected JAR files; new cron jobs or scheduled tasks created under the OFBiz service account.

Mitigation and workarounds

The primary remediation is to upgrade Apache OFBiz to version 24.09.06 or later, which contains the fix for this vulnerability (oss-security, GitHub Advisory). If immediate patching is not feasible, implement network access controls to restrict OFBiz access to trusted users and networks only, reducing the attack surface by limiting who can authenticate. Additionally, enforce the principle of least privilege for OFBiz user accounts and monitor authentication logs for suspicious activity.

Community reactions

The vulnerability was disclosed via the Apache oss-security mailing list on May 19, 2026, by Jacopo Cappellato, with the Apache team rating the severity as "low" despite the CVSS 8.8 score — likely reflecting the authentication requirement and specific exploitation conditions (oss-security). A brief mention appeared on Bluesky (infosec.skyfleet.blue) shortly after disclosure. Standard vulnerability aggregators (Vulners, VulDB, CIRCL) indexed the CVE promptly, but no significant independent researcher commentary or media coverage has been identified beyond routine tracking.

Additional resources


SourceThis report was generated using AI

Related Apache OFBiz vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-45434CRITICAL9.8
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesMay 19, 2026
CVE-2026-50223HIGH8.8
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesJun 10, 2026
CVE-2026-47342HIGH8.8
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesJun 10, 2026
CVE-2026-46586HIGH8.8
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesMay 19, 2026
CVE-2026-45187MEDIUM6.5
  • Apache OFBiz logoApache OFBiz
  • cpe:2.3:a:apache:ofbiz
NoYesMay 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management