CVE-2025-54831

Medium

Description

Apache Airflow 3 introduced a change to the handling of sensitive information in Connections. The intent was to restrict access to sensitive connection fields to Connection Editing Users, effectively applying a "write-only" model for sensitive values. In Airflow 3.0.3, this model was unintentionally violated: sensitive connection information could be viewed by users with READ permissions through both the API and the UI. This behavior also bypassed the `AIRFLOW__CORE__HIDE_SENSITIVE_VAR_CONN_FIELDS` configuration option. This issue does not affect Airflow 2.x, where exposing sensitive information to connection editors was the intended and documented behavior. Users of Airflow 3.0.3 are advised to upgrade Airflow to >=3.0.4.

SeverityMedium
CVSS6.5
Exploit probability—
ProductApache Airflow
PublishedSep 26, 2025
First seenSep 26, 2025
Weakness typeCWE-213CWE-213

How to fix

Update
  • apache-airflow3.0.4 or later

Affected products

ProductAffected versionsFixed in
apache airflow3.0.3—
apache-airflowPyPI3.0.3 ≤ v < 3.0.4, v ≤ 3.0.3-NA3.0.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-54831 · Apache Airflow · Dark Radar