CVE-2026-82804
Apache DolphinScheduler: Command Injection in the Alert Script Plugin
Description
The scriptPath parameter is incorporated into a /bin/sh -c command without sufficient neutralization of shell metacharacters, allowing shell command substitution and execution.
An authenticated user can exploit this behavior by creating a resource whose filename contains shell command substitution syntax, such as $(...), and subsequently supplying the resulting path to the Alert Script plugin's /test-send endpoint. When the alert script is executed, the shell interprets the injected command, resulting in arbitrary command execution with the privileges of the DolphinScheduler service process.
This issue affects Apache DolphinScheduler: before 3.4.3.
Users are recommended to upgrade to version 3.4.3, which fixes the issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.dolphinscheduler » dolphinscheduler-apipreliminary | < 3.4.3 | 3.4.3 |
Blast radius
0% of the dependent artifacts (0) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 55 |
Most used dependents
- org.apache.dolphinscheduler » dolphinscheduler-python2 usages
- org.apache.dolphinscheduler » dolphinscheduler-standalone-server1 usages
- org.apache.dolphinscheduler » dolphinscheduler-dist0 usages
- com.webank.wedatasphere.dss » dolphinscheduler-prod-metrics0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
