CVE-2025-54831: Apache Airflow: Connection sensitive details exposed to users with READ permissions

Published Sep 25, 2025
·
Updated

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 AIRFLOWCOREHIDESENSITIVEVARCONNFIELDS 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.

Affected Software

3 affected componentsFixes available
Apache Airflow=3.0.3
pip/apache-airflow=3.0.3
3.0.4
Apache Airflow=3.0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/apache-airflow to a version that resolves this vulnerability.

    Fixed in 3.0.4
  2. Upgrade

    Upgrade Apache Airflow to a version that resolves this vulnerability.

    Fixed in 3.0.4

Event History

Sep 26, 2025
CVE Published
via MITRE·07:28 AM
Data Sourced
via MITRE·07:28 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·09:31 AM
Data Sourced
via GitHub·09:31 AM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-54831?

CVE-2025-54831 has been rated as a moderate severity vulnerability.

2

How do I fix CVE-2025-54831?

To fix CVE-2025-54831, you should upgrade to Apache Airflow version 3.0.4 or later.

3

What types of information are affected by CVE-2025-54831?

CVE-2025-54831 impacts the handling of sensitive connection fields in Apache Airflow.

4

Who is affected by CVE-2025-54831?

Users of Apache Airflow version 3.0.3 who manage sensitive connection fields are affected by CVE-2025-54831.

5

What changes were introduced in relation to CVE-2025-54831?

CVE-2025-54831 introduced a 'write-only' model for sensitive values in connection handling.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203