OS Command injection in Apache AirflowGHSA-3v7g-4pg3-7r6j
HIGHGHSA-3v7g-4pg3-7r6j is a high-severity (CVSS 8.8) OS Command Injection vulnerability in apache-airflow. EPSS puts its 30-day exploitation probability at 19.2% (98th percentile). A fix is available for apache-airflow — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
apache-airflowReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
In Apache Airflow, prior to version 2.2.4, some example DAGs did not properly sanitize user-provided params, making them susceptible to OS Command Injection from the web UI.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | apache-airflow | all versions | 2.2.4pip install --upgrade 'apache-airflow==2.2.4' |
Affected Products
airflowapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for apache-airflow, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update apache-airflow to 2.2.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-3v7g-4pg3-7r6j is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect GHSA-3v7g-4pg3-7r6j
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-3v7g-4pg3-7r6j -u https://target- Template
- Apache Airflow OS Command Injection
- Severity
- high
- Impact
- Successful exploitation of this vulnerability could allow an attacker to execute arbitrary commands on the target system.
- Remediation
- Apply the latest security patches or upgrade to a patched version of Apache Airflow.
Template by ProjectDiscovery nuclei-templates (xeldax), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-3v7g-4pg3-7r6j in your dependencies?
Find it across PyPI, including transitive dependencies.