Skip to content
Apache AirflowGHSA-q475-2pgm-7hvp

Apache Airflow: Connection sensitive details exposed to users with READ permissions

MediumCVE-2025-54831 · Published Sep 26, 2025 · updated Jun 5, 2026

GitHub advisory

Affected versions

PackageAffectedFixed in
apache-airflow
PyPI
>= 3.0.3, < 3.0.43.0.4
Details and references

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.

CVSS 4.0
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
Severity from
GitHub (reviewed advisory)
Weakness
CWE-213
Also known as
BIT-airflow-2025-54831, CVE-2025-54831, PYSEC-2025-85

More Apache Airflow advisories

All Apache Airflow
DateAdvisory
Oct 302025Apache Airflow `/api/v2/dagReports` executes DAG Python in API
CVE-2025-62402Medium5.4fixed in 3.1.1
Oct 302025Apache Airflow's create action can upsert existing Pools/Connections/Variables
CVE-2025-62503Medium4.6fixed in 3.1.1
Oct 302025Apache Airflow has a command injection vulnerability in "example_dag_decorator"
CVE-2025-54941Mediumfixed in 3.0.5
Dec 152025Apache Airflow exposes secret values to authenticated UI users via rendered templates
CVE-2025-66388Medium6.5fixed in 3.1.5
Dec 172025Edge3 Worker RPC RCE on Airflow 2.
CVE-2025-67895Critical9.8fixed in 2.0.0
Jan 16Apache Airflow secrets in rendered templates could contain parts of sensitive values when truncated
CVE-2025-68438High7.5fixed in 3.1.6

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.