Medium severity · published Nov 8, 2024
CVE-2024-50378
Apache Airflow: Secrets not masked in UI when sensitive variables are set via Airflow cli
4.9
CVSS
1.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 69% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AA
Apache Airflow · Apache Software Foundation
before 2.10.3 · source: vendor
AI
Airflow · Apache
before 2.10.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-50378
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-50378
Issue Tracking
https://github.com/apache/airflow/pull/43123
Mailing List
https://lists.apache.org/thread/17rxys384lzfd6nhm3fztzgvk47zy7jb
Mailing List
http://www.openwall.com/lists/oss-security/2024/11/08/5
More from Apache Airflow
8.8
CVE-2020-11978
Apache Airflow Command Injection
9.8
CVE-2026-33264
Apache Airflow: DAG author RCE on webserver via unrestricted import_string() in BaseSerialization.deserialize()
9.8
CVE-2017-17836
In Apache Airflow 1.8.2 and earlier, an experimental Airflow feature displayed authenticated cookies, as well as passwords to databases used by Airflow
9.1
CVE-2026-86473
Apache Airflow: Logout ignores a presented Authorization bearer token, leaving it revocable only by expiry
9.1
CVE-2026-42252
Apache Airflow: BashOperator Jinja2 injection via dag_run.conf — low-privilege user pattern
