CVE-2021-28359Apache Airflow
Medium 6.1 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 6.1
- EPSS
- 14.4% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- May 2, 2021
- Updated
- Nov 27, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
The "origin" parameter passed to some of the endpoints like '/trigger' was vulnerable to XSS exploit. This issue affects Apache Airflow versions <1.10.15 in 1.x series and affects 2.0.0 and 2.0.1 and 2.x series. This is the same as CVE-2020-13944 & CVE-2020-17515 but the implemented fix did not fix the issue completely. Update to Airflow 1.10.15 or 2.0.2. Please also update your Python version to the latest available PATCH releases of the installed MINOR versions, example update to Python 3.6.13 if you are on Python 3.6. (Those contain the fix for CVE-2021-23336 https://nvd.nist.gov/vuln/detail/CVE-2021-23336).
What to do
- Apply the vendor's security update for Airflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-airflow |
< 1.10.15 |
1.10.15 |
pip install "apache-airflow>=1.10.15" |
| PyPI | apache-airflow |
≥ 2.0.0a1 < 2.0.2 |
2.0.2 |
pip install "apache-airflow>=2.0.2" |
| PyPI | apache-airflow |
≥ 1.8.1 < 1.10.15 |
1.10.15 |
pip install "apache-airflow>=1.10.15" |
| PyPI | apache-airflow |
≥ 2.0.0 < 2.0.2 |
2.0.2 |
pip install "apache-airflow>=2.0.2" |
Per OSV / GitHub Advisories (GHSA-3xxv-p78r-4fc6, PYSEC-2021-4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | ≥ 1.0.0 < 1.10.15 |
| apache | airflow | ≥ 2.0.0 < 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- lists.apache.org