CVE-2024-50378
JSON

4.9medium

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

Severity
4.9medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.24% (higher than 70% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-j857-2pwm-jjmmBIT-AIRFLOW-2024-50378PYSEC-2026-1134

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

Product or packageVersionsReported by
apache-airflowbefore 2.10.3CVE List
apache-airflow (PyPI)before 2.10.3GitHub Advisory Database, PyPA Advisory Database
apache airflowbefore 2.10.3NVD
airflow (Bitnami)before 2.10.3Bitnami Vulnerability Database

All scores

CISA-ADP4.9medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
GitHub6.5low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Bitnami Vulnerability Databasemedium rating

Classification

CWE-201

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Las versiones de Airflow anteriores a la 2.10.3 tienen una vulnerabilidad que permite a los usuarios autenticados con acceso al registro de auditoría ver valores confidenciales en los registros de auditoría que no deberían ver. Cuando se configuraban variables confidenciales a través de la CLI de Airflow, los valores de esas variables aparecían en el registro de auditoría y se almacenaban sin cifrar en la base de datos de Airflow. Si bien este riesgo se limita a los usuarios con acceso al registro de auditoría, se recomienda actualizar a Airflow 2.10.3 o una versión posterior, que solucione este problema. Los usuarios que anteriormente utilizaban la CLI para configurar variables secretas deben eliminar manualmente las entradas con esas variables de la tabla de registro.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-50378 changed 2024-11-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-j857-2pwm-jjmm changed 2026-09-10CC-BY-4.0
NVDCVE-2024-50378 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1134 changed 2026-07-07CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-AIRFLOW-2024-50378 changed 2026-09-08Apache-2.0