GitHub Advisoryadvisory · PyPI

GHSA-q475-2pgm-7hvp Apache Airflow: Connection sensitive details exposed to users with READ permissions

MEDIUM Published 2025-09-26 Modified 2026-06-05 Official page ↗
Aliases
CVE-2025-54831
Ecosystem
PyPI
Packages
apache-airflow
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Weaknesses
CWE-213
Reviewed
2025-09-26

Affected packages

• PyPI apache-airflow: >= 3.0.3, < 3.0.4 → fixed in 3.0.4

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.

Related

Alias · CVE (1)

  • CVE-2025-54831 Apache Airflow 3 introduced a change to the handling of sensitive information in Connections. vulnerability

Weakness · CWE (1)

  • CWE-213 Exposure of Sensitive Information Due to Incompatible Policies weakness

References