Apache Airflow: Sensitive configuration values are not masked in the logs by default
Apache Airflow versions before 2.10.3 contain a vulnerability that could expose sensitive configuration variables in task logs. This vulnerability allows DAG authors to unintentionally or intentionally log sensitive configuration variables. Unauthorized users could access these logs, potentially exposing critical data that could be exploited to compromise the security of the Airflow deployment. In version 2.10.3, secrets are now masked in task logs to prevent sensitive configuration variables from being exposed in the logging output. Users should upgrade to Airflow 2.10.3 or the latest version to eliminate this vulnerability. If you suspect that DAG authors could have logged the secret values to the logs and that your logs are not additionally protected, it is also recommended that you update those secrets.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | airflow | < 2.10.3 | 2.10.3 |
| Python (PyPI) | apache-airflow | < 2.10.3 | 2.10.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45784
- https://github.com/apache/airflow/pull/43040
- https://github.com/apache/airflow
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow/PYSEC-2024-182.yaml
- https://lists.apache.org/thread/k2jm55jztlbmk4zrlh10syvq3n57hl4h
- http://www.openwall.com/lists/oss-security/2024/11/15/1
- https://pypi.org/project/airflow
- https://github.com/advisories/GHSA-46c3-5xc5-wwhv
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-1295- Platform
- Python (PyPI)
- Package
airflow, apache-airflow- Disclosed
- 15.11.2024
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2024-182 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-46c3-5xc5-wwhv - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-1112 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: apache-airflow
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 158
- First → latest
- 08.2018 09.2026
- Without a fix
- 4
- Exploited in attacks
- 2
Severity breakdown
- Critical 16
- High 49
- Medium 86
- Low 7
Disclosures per year
- 2018: 1
- 2019: 8
- 2020: 12
- 2021: 5
- 2022: 16
- 2023: 31
- 2024: 18
- 2025: 6
- 2026: 61
-
Apache Airflow: Sensitive configuration values are not masked in the logs by default this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.