CVE-2024-50378

Apache Airflow: Secrets not masked in UI when sensitive variables are set via Airflow cli

Published Nov 8, 2024 CVSS 3.1 · 4.9 Medium EPSS 1.2% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j857-2pwm-jjmm Apache Airflow vulnerable to Insertion of Sensitive Information Into Sent Data
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00163}

epss

{'score': 0.00177}

Type Values Removed Values Added
Metrics epss

{'score': 0.00102}

epss

{'score': 0.00163}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Apache Airflow: Secrets not masked in UI when sensitive variables are set via Airflow cli
Weaknesses CWE-201
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 8, 2024, 7:02 PM
Reserved
Oct 23, 2024, 8:55 AM
Status
Analyzed
Published
Nov 8, 2024, 3:15 PM
Modified
Jun 17, 2026, 8:04 AM