CVE-2024-50378: Apache Airflow Sensitive Information Exposure in Audit Logs
Summary
CVE-2024-50378: Apache Airflow vulnerable to Insertion of Sensitive Information Into Sent Data. Affects apache-airflow versions < 2.10.3. Fixed in 2.10.3. How to fix ↓
Also tracked for
- airflow · Bitnami
The same CVE-2024-50378 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Airflow is an open-source platform designed to programmatically author, schedule, and monitor workflows. It allows users to define workflows as Directed Acyclic Graphs (DAGs) and provides a rich user interface to manage and visualize these workflows. Airflow is widely used in data engineering and data science for orchestrating complex data pipelines. However, certain versions of Airflow are vulnerable to a security issue that exposes sensitive information in audit logs.
Vulnerability Detail
The vulnerability in Apache Airflow arises from the way sensitive variables are logged when set via the Airflow CLI. Specifically, versions prior to 2.10.3 allow authenticated users with access to audit logs to view sensitive values that should remain confidential. These values are stored unencrypted in the Airflow database, posing a risk of unauthorized access to sensitive information. This issue is classified under CWE-201, which pertains to the exposure of sensitive information.
How To Fix
Latest published version: 3.3.2 as of 22 Oct 2026
pip install --upgrade "apache-airflow==3.3.2"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2.10.3
This is the first release that contains the fix.
pip install --upgrade "apache-airflow==2.10.3"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users who have previously set secret variables via the CLI should manually delete any entries containing those sensitive variables from the audit log table in the Airflow database. This can be done using SQL commands to remove the relevant entries.
Conclusion
In summary, CVE-2024-50378 is a significant vulnerability in Apache Airflow that exposes sensitive information in audit logs. Users are strongly encouraged to upgrade to version 2.10.3 or later to mitigate this risk. For those unable to upgrade immediately, it is advisable to manually remove sensitive entries from the logs.
See every vulnerability recorded for apache-airflow →
FAQ
CVE-2024-50378 is a vulnerability in Apache Airflow that allows authenticated users to see sensitive values in audit logs, which should not be accessible to them.
All versions of Apache Airflow prior to 2.10.3 are affected by this vulnerability.
The main risk is the exposure of sensitive information, such as passwords or API keys, to unauthorized users who have access to the audit logs.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.
If an immediate upgrade is not possible, manually delete sensitive entries from the audit log table as a temporary measure until you can upgrade.
Related vulnerabilities
Recent vulnerabilities recorded for apache-airflow.