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 package | Versions | Reported by |
|---|---|---|
| apache-airflow | before 2.10.3 | CVE List |
| apache-airflow (PyPI) | before 2.10.3 | GitHub Advisory Database, PyPA Advisory Database |
| apache airflow | before 2.10.3 | NVD |
| airflow (Bitnami) | before 2.10.3 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 4.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 6.5low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| GitHub | low CVSS:4.0 | CVSS: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 Database | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS: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 Database | medium rating |
Classification
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
| https://github.com/apache/airflow/pull/43123 | fix, issue-tracking, patch, web | |
| https://lists.apache.org/thread/17rxys384lzfd6nhm3fztzgvk47zy7jb | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2024/11/08/5 | advisory, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-50378 | advisory, web | |
| https://github.com/apache/airflow | package | |
| https://pypi.org/project/apache-airflow | package | |
| https://github.com/advisories/GHSA-j857-2pwm-jjmm | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-50378 changed 2024-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-j857-2pwm-jjmm changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-50378 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1134 changed 2026-07-07 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-AIRFLOW-2024-50378 changed 2026-09-08 | Apache-2.0 |