Skip to content
RCE Write-up Advanced

CVE-2026–40901: DataEase Root RCE via Unfiltered Quartz Deserialization

DataEase's bundled Quartz scheduler deserialises the JOB_DATA column from its database with an unfiltered ObjectInputStream, so anyone who can write to that column can plant a serialised gadget chain that runs commands when the job fires. Combined with earlier SQL injection and an authentication bypass, an unauthenticated attacker could reach root-level command execution inside the container.

WhitGuidance Follow

Published on medium.com

Database

WhitGuidance, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 6 min read.

## Context

DataEase is an open-source business intelligence and data visualisation platform maintained by FIT2CLOUD, with over 23K stars on GitHub. CVE-2026-40901 lives in how DataEase's bundled Quartz scheduler deserialises job data: there is no filter whatsoever on the `ObjectInputStream` that reads it back, so an attacker-controlled serialised payload is executed as-is, resulting in root-level remote command execution inside the container.

On its own this is already severe, but it is actually the final link in a four-vulnerability chain disclosed by the OX Security research team. This post focuses on stage 3, CVE-2026-40901 itself: specifically, how a deserialisation bug turns into full RCE, walked through at the source code level.


{{media:0}}


## Setup

Quartz is a widely used Java job scheduling library. It manages job definitions (what to run) and triggers (when to run it). DataEase configures it with a JDBC JobStore, meaning job state lives in a database table instead of memory.

That table is `qrtz_job_details`, and one column in particular matters here: `JOB_DATA`.

```sql
-- qrtz_job_details table (relevant columns only)SCHED_NAME     VARCHAR(120)  -- scheduler instance nameJOB_NAME       VARCHAR(200)  -- job name (e.g. check_status)JOB_GROUP      VARCHAR(200)  -- job group (e.g. Datasource)JOB_CLASS_NAME VARCHAR(250)JOB_DATA       BLOB          -- �
 a serialized Java object lives here
```

`JOB_DATA` holds a `JobDataMap` object, serialised via `ObjectOutputStream` into raw bytes. Every time Quartz fires a job, it pulls this BLOB back out and deserialises it with `ObjectInputStream`. That is the crux of the vulnerability.

DataEase bundles Quartz 2.3.2. The precondition for the attack is write access to the `JOB_DATA` column, which the prior stage of the chain (the SQL injection in CVE-2026-40900) provides.

## Finding it

The deserialisation call path in Quartz 2.3.2 looks like this:

```text
JobStoreSupport.retrieveJob(SchedulingContext, JobKey)    └── StdJDBCDelegate.selectJobDetail(Connection, JobKey, ClassLoadHelper)            └── getJobDataFromBlob(ResultSet, colName)                    └── getObjectFromBlob(ResultSet, colName)
```

The last method, `getObjectFromBlob()`, is where the problem is fully exposed:

```java
protected Object getObjectFromBlob(ResultSet rs, String colName)        throws ClassNotFoundException, IOException, SQLException {    Object obj = null;    Blob blobLocator = rs.getBlob(colName);
```

```java
    if (blobLocator != null) {        InputStream binaryInput = blobLocator.getBinaryStream();        if (binaryInput != null && binaryInput.available() != 0) {            ObjectInputStream in = new ObjectInputStream(binaryInput);            try {                obj = in.readObject();   // �
 deserializes whatever class is on the wire            } finally {                in.close();            }        }    }    return obj;}
```

One line does all the damage: `in.readObject()`. A few things stand out about it:

- No class allowlist. Whatever class the BLOB says it is, it gets instantiated, as long as that class exists somewhere on the JVM's classpath.
- No `ObjectInputFilter` (JEP 290, standard since Java 9) attached. There is no hook intercepting `readObject()` to reject dangerous classes before they are constructed.
- No trust boundary check on the source of the bytes. `JOB_DATA` is read straight from the database, so whoever can write to that column controls what gets deserialised.

That resolves into a simple equation: write access to `qrtz_job_details.JOB_DATA` equals arbitrary code execution. And DataEase already hands an attacker that write access via the SQL injection in the prior stage (CVE-2026-40900).


{{media:1}}


## Exploitation

### Step 1: overwrite the job data

With the SQL injection obtained via the CVE-2026-40899 plus CVE-2026-40900 chain, the attacker overwrites the `JOB_DATA` column of the `Datasource/check_status` job in `qrtz_job_details` with a serialised CC6 gadget chain:

```sql
UPDATE qrtz_job_detailsSET job_data = 0x<serialized malicious bytes>WHERE job_name = 'check_status' AND job_group = 'Datasource';
```

The `WHERE` clause targets the existing `check_status` job in the `Datasource` group, and the `SET` places the raw serialised bytes into the BLOB column that Quartz will later read back.

### Step 2: wait for the trigger

That job has a cron trigger firing every 6 minutes, so the attacker just waits. No additional trigger action is needed.

### Step 3: Quartz reads the job back

When the trigger fires, `JobStoreSupport` calls `retrieveJob()`, which eventually reaches `StdJDBCDelegate.getObjectFromBlob()` and calls `ObjectInputStream.readObject()`.

### Step 4: the gadget chain fires

During deserialisation, the `InvokerTransformer` chain fires, ultimately calling `Runtime.exec(attacker_command)`.

### Step 5: root shell

Since DataEase's JVM process runs as root inside the container, the attacker gets a root shell (typically a reverse shell) immediately.


{{media:2}}


Chained together with the authentication bypass (CVE-2026-23958), this becomes fully unauthenticated remote root compromise of any internet-exposed DataEase instance.

## Root cause

An unfiltered `readObject()` alone does not automatically mean command execution. Java deserialisation, by design, only reconstructs object state; turning that into `Runtime.exec()` requires chaining together classes that already happen to sit on the classpath. This is what is known as a gadget chain.

DataEase's container happens to have both ingredients needed to complete one:

- `commons-collections-3.2.1.jar` ships `InvokerTransformer`, a class that invokes an arbitrary method via reflection.
- `velocity-1.7.jar`: DataEase already uses the modern `velocity-engine-core-2.3.jar`, but this old, unused `velocity-1.7.jar` was never cleaned out of the classpath, and it is the thing that drags the vulnerable `commons-collections-3.2.1` in with it.

Here is the core of `InvokerTransformer`:

```java
public Object transform(Object input) {    if (input == null) {        return null;    }    try {        Class cls = input.getClass();        Method method = cls.getMethod(iMethodName, iParamTypes);        return method.invoke(input, iArgs);       } catch (...) { ... }}
```

`iMethodName`, `iParamTypes`, and `iArgs` are all fields inside the deserialised object, meaning the attacker fully controls them when crafting the serialised payload. Chaining several of these together with a `ChainedTransformer` produces a sequence like:

```text
ChainedTransformer execution order:1) Obtain the Runtime class      (via the static Runtime.getRuntime method)2) Call getRuntime()             to get a Runtime instance3) Call exec(String) on it       ← arbitrary command execution happens here
```

What actually kicks this transformer chain off during deserialisation is a side effect of classes like `LazyMap` or `AnnotationInvocationHandler` invoking `equals()`, `hashCode()`, or a dynamic proxy's `invoke()` while the object graph is being reconstructed. This is the well-known CommonsCollections6 (CC6) gadget chain. In short, the attacker hijacks some method call that happens automatically right after deserialisation and turns it into a call to `Runtime.exec()`.

The root cause, in one sentence:

> A deserialisation sink with no filter (Quartz's raw `ObjectInputStream`) coexisting on the same classpath as gadget-chain material (an outdated Commons Collections, dragged in by an unnecessary legacy Velocity dependency).

Removing any single one of the three (a serialisation filter, a patched Commons Collections version, or cleaning up the dead Velocity jar) would have broken this chain.

## Impact

An attacker who can write to `qrtz_job_details.JOB_DATA` gets arbitrary command execution as the user running the DataEase JVM, which in the container is root. Because the `check_status` job fires on a six-minute cron trigger, the payload executes without any further interaction once it is planted. Combined with the authentication bypass (CVE-2026-23958), the result is fully unauthenticated remote root compromise of any internet-exposed DataEase instance.

## Fix

DataEase shipped v2.10.21 on April 16, 2026, resolving the issue by removing the gadget-chain ingredients rather than hardening the deserialisation sink itself:

- Removed the unused legacy `velocity-1.7.jar` dependency.
- As a consequence, the `commons-collections-3.2.1.jar` it was dragging in was also removed from the classpath.

In other words, the underlying architectural issue, Quartz's unfiltered deserialisation sink, is still structurally there. The patch cuts off the specific gadget material that made it exploitable.

If you are running DataEase and have not upgraded yet, check whether these legacy jars are present:

```bash
find / -name "velocity-1.7.jar" 2>/dev/nullfind / -name "commons-collections-3.2.1.jar" 2>/dev/nul
```

If an immediate upgrade is not possible, a JEP 290 deserialisation filter is a viable stopgap:

```bash
JAVA_OPTS="-Djdk.serialFilter=!org.apache.commons.collections.functors.*;!org.apache.commons.collections.Transformer;maxdepth=20"
```

This causes any class under `commons-collections`'s `functors` package to be rejected with `InvalidClassException` the moment it appears during deserialisation, before any gadget method gets a chance to run.

-  A positive result is a `qrtz_job_details` row whose `JOB_DATA` you can replace and a job with a recurring trigger that fires without manual intervention.
-  A positive result is `commons-collections-3.2.1.jar` (or another version with `InvokerTransformer`) present and reachable from the deserialisation entry point.
-  A positive result is the legacy jar present in the container even though the application uses the newer engine.
-
-

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 18 min read.

## What happened, in plain words

DataEase is a free, open-source program for making charts and dashboards out of business data. It is maintained by a company called FIT2CLOUD and has more than 23K stars on GitHub, which is a rough popularity score.

A security flaw tracked as CVE-2026-40901 was found in DataEase. A CVE is a public catalogue number given to a known security bug so people can talk about it unambiguously. This particular bug lets an attacker run their own commands on the server, as the most powerful user account on it (called root), from inside the container the software runs in. A container is a lightweight, sealed-off box on a server that holds one application and everything it needs.

The bug is not in DataEase's charts or its login screen. It is in a helper library DataEase bundles called Quartz, which is a scheduler: software that runs tasks on a timetable, like an alarm clock that fires every few minutes. Quartz stores its list of scheduled tasks in a database. When it is time to run a task, Quartz reads the task's stored settings back out of the database and turns those raw bytes into live Java objects again. That turning-bytes-back-into-objects step is called deserialisation, and it is where the flaw lives: Quartz does it with no safety checks at all, so whatever the stored bytes say, it obeys.

On its own that is already serious. But this bug is the last link in a chain of four vulnerabilities disclosed by the OX Security research team. The earlier SQL injection link gives an attacker the write access to the database that this final link needs. This article is about stage 3 of that chain, CVE-2026-40901 itself: how a deserialisation bug turns into full remote command execution, walked through at the level of the source code.


{{media:0}}


## 1. The setup: why a scheduler becomes the attack surface

To follow the rest, you need three ideas.

**A library** is a bundle of ready-made code that an application includes instead of writing everything itself. Think of it as a set of pre-built kitchen appliances rather than forging your own pans. DataEase includes many libraries; Quartz is one of them.

**A database** is an organised store of information, arranged in tables with rows and columns, a bit like a very strict spreadsheet. Applications read and write rows to remember things between restarts.

**Serialisation** is the act of turning a live object in a program's memory into a flat stream of bytes that can be saved to disk or a database, and **deserialisation** is the reverse: reading those bytes and rebuilding the object. A useful comparison is packing a piece of furniture into a flat box and then reassembling it later. The danger is that the reassembly instructions are written by whoever packed the box, and if the reassembler follows any instruction it is given, a malicious packer can smuggle in something unexpected.

Quartz manages two things: job definitions (what to run) and triggers (when to run it). DataEase configures Quartz with a **JDBC JobStore**. JDBC is the standard way Java programs talk to databases, and a JobStore is simply where the scheduler keeps its records. So instead of holding the job list in memory, DataEase keeps it in a database table. That means the job list survives restarts, and it also means anyone who can write to that table can change what the scheduler will do.

The table is called `qrtz_job_details`, and one column in it matters most: `JOB_DATA`.

```sql
-- qrtz_job_details table (relevant columns only)SCHED_NAME     VARCHAR(120)  -- scheduler instance nameJOB_NAME       VARCHAR(200)  -- job name (e.g. check_status)JOB_GROUP      VARCHAR(200)  -- job group (e.g. Datasource)JOB_CLASS_NAME VARCHAR(250)JOB_DATA       BLOB          -- �
 a serialized Java object lives here
```

Line by line:

- The first line is a comment saying only the interesting columns are shown.
- `SCHED_NAME VARCHAR(120)` is the name of this scheduler instance. `VARCHAR(120)` means a piece of text up to 120 characters long.
- `JOB_NAME VARCHAR(200)` is the name of the job, for example `check_status`.
- `JOB_GROUP VARCHAR(200)` is the group the job belongs to, for example `Datasource`.
- `JOB_CLASS_NAME VARCHAR(250)` is the name of the Java code that should run for this job.
- `JOB_DATA BLOB` is the important one. `BLOB` stands for Binary Large Object: a column that holds raw bytes rather than readable text. The comment with the star marks that a serialised Java object lives here.

`JOB_DATA` holds a `JobDataMap`, which is Quartz's name for a bag of settings attached to a job. That bag is serialised with `ObjectOutputStream`, a standard Java class that writes objects out as bytes. Every time Quartz fires a job, it pulls this BLOB back out and deserialises it with `ObjectInputStream`, the matching standard Java class that reads objects back in. That round trip is the crux of the vulnerability: the bytes come from a database column, and the program trusts them completely.

DataEase bundles Quartz 2.3.2. The precondition for the attack is write access to the `JOB_DATA` column, and the prior stage of the chain, the SQL injection in CVE-2026-40900, provides exactly that. If you can inject SQL, you can often run an `UPDATE` statement, and an `UPDATE` statement can rewrite a row in `qrtz_job_details`.

## 2. Finding it: the deserialisation call path

A **call path** is the sequence of function calls that leads from the outside of a program to the place where something happens. Reading one is like following a chain of people passing a parcel: each function hands the work to the next until it reaches the one that opens the box.

The deserialisation call path in Quartz 2.3.2 looks like this:

```text
JobStoreSupport.retrieveJob(SchedulingContext, JobKey)    └── StdJDBCDelegate.selectJobDetail(Connection, JobKey, ClassLoadHelper)            └── getJobDataFromBlob(ResultSet, colName)                    └── getObjectFromBlob(ResultSet, colName)
```

Line by line:

- `JobStoreSupport.retrieveJob(...)` is the entry point: the scheduler asking its storage layer to fetch a job. `SchedulingContext` and `JobKey` are just the arguments identifying which scheduler and which job.
- `StdJDBCDelegate.selectJobDetail(...)` is the database-facing helper that runs the query to select the job's row. `Connection` is the open link to the database, and `ClassLoadHelper` is a helper for loading Java classes.
- `getJobDataFromBlob(...)` takes the query result and pulls the job data out of the BLOB column. `ResultSet` is the object holding the rows returned by a query, and `colName` is the column's name.
- `getObjectFromBlob(...)` is the last step, and it is where the bytes are turned back into an object.

The last method, `getObjectFromBlob()`, is where the problem is fully exposed:

```java
protected Object getObjectFromBlob(ResultSet rs, String colName)        throws ClassNotFoundException, IOException, SQLException {    Object obj = null;    Blob blobLocator = rs.getBlob(colName);
```

Line by line:

- `protected Object getObjectFromBlob(ResultSet rs, String colName)` declares a method that returns some object (`Object` is Java's most general type) and takes the query result and a column name.
- The `throws` clause lists the errors it may pass upwards: a class could not be found, an input/output problem, or a database problem.
- `Object obj = null;` sets up an empty result variable.
- `Blob blobLocator = rs.getBlob(colName);` asks the result set for the BLOB in the named column. `blobLocator` is a handle to those bytes, not the bytes themselves yet.

```java
    if (blobLocator != null) {        InputStream binaryInput = blobLocator.getBinaryStream();        if (binaryInput != null && binaryInput.available() != 0) {            ObjectInputStream in = new ObjectInputStream(binaryInput);            try {                obj = in.readObject();   // �
 deserializes whatever class is on the wire            } finally {                in.close();            }        }    }    return obj;}
```

Line by line:

- `if (blobLocator != null)` checks that the column actually contained something.
- `InputStream binaryInput = blobLocator.getBinaryStream();` opens a stream, which is a way of reading bytes one after another, over the BLOB's contents.
- `if (binaryInput != null && binaryInput.available() != 0)` checks the stream exists and has at least one byte waiting.
- `ObjectInputStream in = new ObjectInputStream(binaryInput);` wraps that stream in Java's object reader. This is the moment the program decides to treat the bytes as a serialised object.
- `obj = in.readObject();` is the line that does all the damage. It reads the bytes and rebuilds whatever object they describe. The comment with the star notes that it deserialises whatever class is on the wire, meaning whatever the bytes claim to be.
- The `try` and `finally` block makes sure the stream is closed afterwards, even if something goes wrong.
- `return obj;` hands the rebuilt object back to the caller.

Three things stand out about that one line:

1. **No class allowlist.** An allowlist is a list of things that are permitted and nothing else. Here there is none: whatever class the BLOB says it is, it gets instantiated, as long as that class exists somewhere on the JVM's classpath. The JVM is the Java Virtual Machine, the program that runs Java code, and the classpath is the set of places it looks for classes, like a library shelf.
2. **No `ObjectInputFilter` attached.** `ObjectInputFilter` is a safety feature added to Java (specified in a document called JEP 290, standard since Java 9) that lets a program inspect each class during deserialisation and refuse dangerous ones before they are built. Here there is no such hook intercepting `readObject()`.
3. **No trust boundary check on the source of the bytes.** A trust boundary is the line between data you control and data an outsider controls. `JOB_DATA` is read straight from the database, so whoever can write to that column controls what gets deserialised.

That resolves into a simple equation: write access to `qrtz_job_details.JOB_DATA` equals arbitrary code execution. And DataEase already hands an attacker that write access via the SQL injection in the prior stage (CVE-2026-40900).


{{media:1}}


## 3. Exploitation, step by step

### Step 1: overwrite the job data

With the SQL injection obtained via the CVE-2026-40899 plus CVE-2026-40900 chain, the attacker overwrites the `JOB_DATA` column of the `Datasource/check_status` job in `qrtz_job_details` with a serialised CC6 gadget chain:

```sql
UPDATE qrtz_job_detailsSET job_data = 0x<serialized malicious bytes>WHERE job_name = 'check_status' AND job_group = 'Datasource';
```

Line by line:

- `UPDATE qrtz_job_details` says which table to change.
- `SET job_data = 0x<serialized malicious bytes>` says what to put in the `JOB_DATA` column. The `0x` prefix is how SQL writes raw bytes in hexadecimal, and the angle-bracketed part is a placeholder for the attacker's serialised payload.
- `WHERE job_name = 'check_status' AND job_group = 'Datasource'` narrows the change to one existing row: the job named `check_status` in the group `Datasource`. Without the `WHERE` clause the statement would hit every row in the table.

Why this step: the attacker does not need to create a new job or touch any DataEase screen. They only need to replace the contents of one column that Quartz will read on its own schedule. The `WHERE` clause targets the existing `check_status` job in the `Datasource` group, and the `SET` places the raw serialised bytes into the BLOB column that Quartz will later read back.

### Step 2: wait for the trigger

That job has a cron trigger firing every 6 minutes, so the attacker just waits. No additional trigger action is needed. A cron trigger is a schedule written in a compact notation, and here it simply means the job runs on a repeating six-minute cycle. This is why the attack is so quiet: the victim's own software performs the dangerous read on a timer, with no further request from the attacker.

### Step 3: Quartz reads the job back

When the trigger fires, `JobStoreSupport` calls `retrieveJob()`, which eventually reaches `StdJDBCDelegate.getObjectFromBlob()` and calls `ObjectInputStream.readObject()`. This is the same call path described in section 2, now running for real, with the attacker's bytes sitting in the column.

### Step 4: the gadget chain fires

During deserialisation, the `InvokerTransformer` chain fires, ultimately calling `Runtime.exec(attacker_command)`. `Runtime.exec` is Java's built-in way to start another program on the machine, so this is the exact moment the attacker's command runs. The next section explains how a pile of bytes turns into that call.

### Step 5: root shell

Since DataEase's JVM process runs as root inside the container, the attacker gets a root shell (typically a reverse shell) immediately. Root is the all-powerful administrator account on a Linux system. A shell is a command prompt where you type commands, and a reverse shell is one where the compromised machine connects back out to the attacker, so the attacker gets a prompt on the victim's machine without needing to accept an incoming connection.


{{media:2}}


Chained together with the authentication bypass (CVE-2026-23958), this becomes fully unauthenticated remote root compromise of any internet-exposed DataEase instance. An authentication bypass is a bug that lets someone skip the login step, so the attacker never needs a username or password. Unauthenticated means exactly that: no account required.

## 4. Root cause: why the bytes can run commands

An unfiltered `readObject()` alone does not automatically mean command execution. Java deserialisation, by design, only reconstructs object state: it rebuilds the data an object holds, not actions. Turning that into `Runtime.exec()` requires chaining together classes that already happen to sit on the classpath. This is what is known as a gadget chain. The comparison is a row of dominoes already standing on the shelf: the attacker does not add new dominoes, they just arrange the existing ones so that one small push topples the whole line.

DataEase's container happens to have both ingredients needed to complete one:

- `commons-collections-3.2.1.jar` ships `InvokerTransformer`, a class that invokes an arbitrary method via reflection. A `.jar` file is a Java archive, a zip-like package of compiled classes. Reflection is Java's ability to look up and call a method by name at runtime rather than having it fixed in the code, which is powerful and easy to abuse.
- `velocity-1.7.jar`: DataEase already uses the modern `velocity-engine-core-2.3.jar`, but this old, unused `velocity-1.7.jar` was never cleaned out of the classpath, and it is the thing that drags the vulnerable `commons-collections-3.2.1` in with it. Velocity is a template engine, software that fills in placeholders in text. The old jar is dead weight, but dead weight that quietly pulls a dangerous library along.

Here is the core of `InvokerTransformer`:

```java
public Object transform(Object input) {    if (input == null) {        return null;    }    try {        Class cls = input.getClass();        Method method = cls.getMethod(iMethodName, iParamTypes);        return method.invoke(input, iArgs);       } catch (...) { ... }}
```

Line by line:

- `public Object transform(Object input)` is the method that does the work, taking some input object and returning a result.
- `if (input == null) { return null; }` handles the empty case.
- `Class cls = input.getClass();` asks the input object what class it is.
- `Method method = cls.getMethod(iMethodName, iParamTypes);` looks up a method on that class by name, using two fields stored in the object: the method's name and its parameter types.
- `return method.invoke(input, iArgs);` calls that method on the input, with arguments taken from a third field, `iArgs`.
- The `catch` block handles errors.

`iMethodName`, `iParamTypes`, and `iArgs` are all fields inside the deserialised object, meaning the attacker fully controls them when crafting the serialised payload. In plain terms, the object carries its own instructions: which method to call, with which arguments. The class does exactly what the bytes tell it to.

Chaining several of these together with a `ChainedTransformer` produces a sequence like:

```text
ChainedTransformer execution order:1) Obtain the Runtime class      (via the static Runtime.getRuntime method)2) Call getRuntime()             to get a Runtime instance3) Call exec(String) on it       ← arbitrary command execution happens here
```

Line by line:

- Step 1 obtains the `Runtime` class, Java's handle on the running program, through its static `getRuntime` method. Static means it belongs to the class itself rather than to one object.
- Step 2 calls `getRuntime()` to get the single `Runtime` instance for this JVM.
- Step 3 calls `exec(String)` on it, and that is where an arbitrary command is actually started. The arrow marks the payoff.

A `ChainedTransformer` is simply a transformer that runs several transformers in order, feeding each result into the next, like a line of workers each passing the item along.

What actually kicks this transformer chain off during deserialisation is a side effect of classes like `LazyMap` or `AnnotationInvocationHandler` invoking `equals()`, `hashCode()`, or a dynamic proxy's `invoke()` while the object graph is being reconstructed. `equals()` and `hashCode()` are ordinary Java methods used for comparing objects and for putting them in collections; a dynamic proxy is an object that stands in for another and forwards calls to it. The point is that these methods get called automatically as part of rebuilding the object, without anyone asking. This is the well-known CommonsCollections6 (CC6) gadget chain. In short, the attacker hijacks some method call that happens automatically right after deserialisation and turns it into a call to `Runtime.exec()`.

The root cause, in one sentence:

> A deserialisation sink with no filter (Quartz's raw `ObjectInputStream`) coexisting on the same classpath as gadget-chain material (an outdated Commons Collections, dragged in by an unnecessary legacy Velocity dependency).

A sink is the place where untrusted data finally gets used in a dangerous way, like the drain at the bottom of a pipe. Removing any single one of the three (a serialisation filter, a patched Commons Collections version, or cleaning up the dead Velocity jar) would have broken this chain.

## 5. Impact

An attacker who can write to `qrtz_job_details.JOB_DATA` gets arbitrary command execution as the user running the DataEase JVM, which in the container is root. Because the `check_status` job fires on a six-minute cron trigger, the payload executes without any further interaction once it is planted. Combined with the authentication bypass (CVE-2026-23958), the result is fully unauthenticated remote root compromise of any internet-exposed DataEase instance.

## 6. The fix

DataEase shipped v2.10.21 on April 16, 2026, resolving the issue by removing the gadget-chain ingredients rather than hardening the deserialisation sink itself:

- Removed the unused legacy `velocity-1.7.jar` dependency.
- As a consequence, the `commons-collections-3.2.1.jar` it was dragging in was also removed from the classpath.

In other words, the underlying architectural issue, Quartz's unfiltered deserialisation sink, is still structurally there. The patch cuts off the specific gadget material that made it exploitable. The comparison is a house with a broken lock: the fix removes the valuables from the room rather than repairing the lock.

## 7. What to check on your own instance

If you are running DataEase and have not upgraded yet, check whether these legacy jars are present:

```bash
find / -name "velocity-1.7.jar" 2>/dev/nullfind / -name "commons-collections-3.2.1.jar" 2>/dev/nul
```

Line by line:

- `find /` searches the whole filesystem starting at the top directory, `/`.
- `-name "velocity-1.7.jar"` looks for files with exactly that name.
- `2>/dev/null` throws away error messages, such as permission-denied warnings, so the output stays readable. `2>` redirects the error stream and `/dev/null` is a special file that discards whatever is written to it.
- The second line does the same for `commons-collections-3.2.1.jar`.

If an immediate upgrade is not possible, a JEP 290 deserialisation filter is a viable stopgap:

```bash
JAVA_OPTS="-Djdk.serialFilter=!org.apache.commons.collections.functors.*;!org.apache.commons.collections.Transformer;maxdepth=20"
```

Line by line:

- `JAVA_OPTS` is an environment variable, a named setting the operating system passes to a program when it starts. Many Java deployments read it to configure the JVM.
- `-Djdk.serialFilter=...` sets the built-in serialisation filter.
- `!org.apache.commons.collections.functors.*` rejects every class in that package. The `!` means deny, and `*` is a wildcard for any class name.
- `!org.apache.commons.collections.Transformer` rejects that specific class as well.
- `maxdepth=20` limits how deeply nested a deserialised object may be, which blocks some abuse patterns.

This causes any class under `commons-collections`'s `functors` package to be rejected with `InvalidClassException` the moment it appears during deserialisation, before any gadget method gets a chance to run. `InvalidClassException` is the error Java raises when it refuses a class during deserialisation.

-  A positive result is a `qrtz_job_details` row whose `JOB_DATA` you can replace and a job with a recurring trigger that fires without manual intervention.
-  A positive result is `commons-collections-3.2.1.jar` (or another version with `InvokerTransformer`) present and reachable from the deserialisation entry point.
-  A positive result is the legacy jar present in the container even though the application uses the newer engine.
-
-

## Glossary

- **Allowlist**: a list of things that are permitted, with everything else refused.
- **Authentication bypass**: a flaw that lets someone skip the login step entirely.
- **BLOB**: Binary Large Object, a database column that stores raw bytes rather than readable text.
- **Call path**: the sequence of function calls that leads from the outside of a program to a particular piece of code.
- **Classpath**: the set of places the Java Virtual Machine looks for classes when it needs them.
- **Commons Collections**: a widely used Java library of collection utilities; version 3.2.1 contains `InvokerTransformer`.
- **Container**: a lightweight, sealed-off box on a server holding one application and its dependencies.
- **Cron trigger**: a schedule expressed in compact notation that makes a job run on a repeating timetable.
- **CVE**: a public catalogue number assigned to a known security vulnerability.
- **Deserialisation**: turning a stream of bytes back into a live object in memory.
- **Dynamic proxy**: a Java object that stands in for another object and forwards method calls to it.
- **Environment variable**: a named setting the operating system passes to a program when it starts.
- **Gadget chain**: a sequence of existing classes on the classpath that, when deserialised together, causes an unintended action such as running a command.
- **GitHub stars**: a popularity marker on the GitHub code hosting site.
- **Hexadecimal (`0x`)**: a way of writing raw bytes as digits and letters.
- **`InvalidClassException`**: the error Java raises when it refuses a class during deserialisation.
- **Java Virtual Machine (JVM)**: the program that runs Java code.
- **JDBC**: the standard way Java programs connect to and query databases.
- **JEP 290**: the Java specification that introduced deserialisation filters.
- **JobStore**: the part of a scheduler that stores job definitions and triggers.
- **`.jar` file**: a Java archive, a zip-like package of compiled classes.
- **Library**: a bundle of ready-made code an application includes instead of writing it itself.
- **ObjectInputStream / ObjectOutputStream**: Java's standard classes for reading and writing serialised objects.
- **Package**: a named grouping of related Java classes.
- **Quartz**: a Java library for scheduling jobs on a timetable.
- **Reflection**: Java's ability to look up and call a method by name at runtime.
- **Reverse shell**: a command prompt on the victim's machine that connects back out to the attacker.
- **Root**: the all-powerful administrator account on a Linux system.
- **Serialisation**: turning a live object in memory into a flat stream of bytes.
- **Shell**: a command prompt where commands are typed and run.
- **Sink**: the place where untrusted data is finally used in a dangerous way.
- **Static method**: a method that belongs to a class itself rather than to one object.
- **Stream**: a way of reading or writing bytes one after another.
- **Trust boundary**: the line between data you control and data an outsider controls.
- **Velocity**: a Java template engine; an old, unused `velocity-1.7.jar` pulls in the vulnerable Commons Collections.
- **`VARCHAR`**: a database column type for text of a limited length.

More by WhitGuidance

View all

40 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.