Skip to content
OpenAdvisories
Medium · 4.9 CVE-2024-50378 BIT-airflow-2024-50378EUVD-2024-3272GHSA-j857-2pwm-jjmmPYSEC-2026-1134

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

Published Nov 8, 2024 · Updated Nov 8, 2024 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Airflow < 2.10.3 2.10.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow 2.10.3-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI apache-airflow < 2.10.3 2.10.3 GHSA-j857-2pwm-jjmm

References