Apache Airflow: Secrets not masked in UI when sensitive variables are set via Airflow cli
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-201.
Summary
Airflow versions before 2.10.3 have a vulnerability that allows authenticated users with audit log access to see sensitive values in audit logs which they should not see. When sensitive variables were set via airflow CLI, values of those variables appeared in the audit log and were stored unencrypted in the Airflow database. While this risk is limited to users with audit log access, it is recommended to upgrade to Airflow 2.10.3 or a later version, which addresses this issue. Users who previously used the CLI to set secret variables should manually delete entries with those variables from the log table.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Airflow | before 2.10.3 | 2.10.3 | Patch available | CNA |
| — | apache-airflow (PyPI) | before 2.10.3 | 2.10.3 | Patch available | GHSA-j857-2pwm-jjmm |
- Apache Airflow VendorApache Affected before 2.10.3 Fixed in 2.10.3 Patch available CNA
- apache-airflow (PyPI) Vendor— Affected before 2.10.3 Fixed in 2.10.3 Patch available GHSA-j857-2pwm-jjmm
Remediation
- Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 2.10.3
- Fix · GHSA-j857-2pwm-jjmm apache-airflow (PyPI) Fixed in 2.10.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-50378
- 2026-10-03 Alias added: GHSA-j857-2pwm-jjmm
References
More Apache Airflow vulnerabilities
- TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
- TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
- TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
- TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
- TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
- TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
Sources
- CVE-2024-50378 · CVE Program
- CVE-2024-50378 · NVD
- FIRST EPSS
- GHSA-j857-2pwm-jjmm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences