CVE-2025-54831: Apache Airflow Connection Sensitive Details Exposure Vulnerability
Summary
CVE-2025-54831: Apache Airflow: Connection sensitive details exposed to users with READ permissions. Affects apache-airflow versions >= 3.0.3, < 3.0.4. Fixed in 3.0.4. How to fix ↓
Also tracked for
- airflow · Bitnami
The same CVE-2025-54831 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache Airflow is an open-source platform designed to programmatically author, schedule, and monitor workflows. It allows users to define workflows as Directed Acyclic Graphs (DAGs) and provides a rich user interface to manage and visualize these workflows. Airflow is widely used in data engineering and data science for orchestrating complex data pipelines. However, with the introduction of version 3.0, a vulnerability emerged that affects the handling of sensitive information within Connections, potentially exposing sensitive data to unauthorized users.
Vulnerability Detail
In Apache Airflow version 3.0.3, a change was made to restrict access to sensitive connection fields to Connection Editing Users, implementing a 'write-only' model for sensitive values. Unfortunately, this model was violated, allowing users with READ permissions to view sensitive connection information through both the API and the UI. This exposure bypassed the configuration option 'AIRFLOW__CORE__HIDE_SENSITIVE_VAR_CONN_FIELDS', leading to potential unauthorized access to sensitive data. This issue does not affect Airflow 2.x, where such exposure was the intended behavior.
How To Fix
Latest published version: 3.3.2 as of 22 Oct 2026
pip install --upgrade "apache-airflow==3.3.2"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
3.0.4
This is the first release that contains the fix.
pip install --upgrade "apache-airflow==3.0.4"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can limit access to the API and UI for users who should not have READ permissions on sensitive connection fields until they can upgrade to the patched version.
Conclusion
The vulnerability CVE-2025-54831 in Apache Airflow 3.0.3 poses a risk by exposing sensitive connection details to unauthorized users. It is crucial for users to upgrade to version 3.0.4 or later to mitigate this risk. Additionally, users can utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for apache-airflow →
FAQ
CVE-2025-54831 is a vulnerability in Apache Airflow that allows sensitive connection details to be exposed to users with READ permissions, violating the intended security model.
The vulnerability affects Apache Airflow version 3.0.3. Versions 3.0.4 and later have addressed this issue.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability.
If immediate upgrading is not possible, consider restricting access to sensitive connection fields by limiting user permissions until you can apply the patch.
No, this vulnerability does not affect Airflow 2.x, where exposing sensitive information to connection editors was the intended behavior.
Related vulnerabilities
Recent vulnerabilities recorded for apache-airflow.