Apache Airflow: Connection sensitive details exposed to users with READ permissions
MediumCVE-2025-54831 · Published Sep 26, 2025 · updated Jun 5, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | >= 3.0.3, < 3.0.4 | 3.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| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Oct 302025 | Apache Airflow `/api/v2/dagReports` executes DAG Python in API CVE-2025-62402Medium5.4fixed in 3.1.1 | Medium5.4 | 3.1.1 |
| Oct 302025 | Apache Airflow's create action can upsert existing Pools/Connections/Variables CVE-2025-62503Medium4.6fixed in 3.1.1 | Medium4.6 | 3.1.1 |
| Oct 302025 | Apache Airflow has a command injection vulnerability in "example_dag_decorator" CVE-2025-54941Mediumfixed in 3.0.5 | Medium | 3.0.5 |
| Dec 152025 | Apache Airflow exposes secret values to authenticated UI users via rendered templates CVE-2025-66388Medium6.5fixed in 3.1.5 | Medium6.5 | 3.1.5 |
| Dec 172025 | Edge3 Worker RPC RCE on Airflow 2. CVE-2025-67895Critical9.8fixed in 2.0.0 | Critical9.8 | 2.0.0 |
| Jan 16 | Apache Airflow secrets in rendered templates could contain parts of sensitive values when truncated CVE-2025-68438High7.5fixed in 3.1.6 | High7.5 | 3.1.6 |