CVE-2025-54831 Apache Airflow: Connection sensitive details exposed to users with READ permissions
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2025-54831?
CVE-2025-54831 is a medium-severity vulnerability in Apache Airflow, published on 26 Sep 2025.
Official 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.
Weakness: CWE-213
Which versions are affected by CVE-2025-54831?
4 open source packages ship an affected version, including apache-airflow and airflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
apache-airflow PyPI | All versions to 3.0.3-NA | None |
apache-airflow PyPI | From 3.0.3 | 3.0.4 |
apache-airflow PyPI | From 3.0.3 | 3.0.4 |
airflow Bitnami | From 3.0.3 | 3.0.4 |
Products include Apache Airflow.
How do I fix CVE-2025-54831?
Upgrade apache-airflow to 3.0.4 or later.
Is CVE-2025-54831 being exploited?
There is no known exploitation of CVE-2025-54831 in the wild and no public exploit code.
Other vulnerabilities in Apache Airflow
- CVE-2020-13927 Apache Airflow's Experimental API Authentication Bypass
- CVE-2020-11978 Apache Airflow Command Injection
- CVE-2026-33264 Apache Airflow: DAG author RCE on webserver via unrestricted import_string() in BaseSerialization.deserialize()
- CVE-2023-25754 Apache Airflow: Privilege escalation using airflow logs
- CVE-2023-22884 Apache Airflow, Apache Airflow MySQL Provider: Arbitrary file read via MySQL provider in Apache Airflow
Sources
Also known as BIT-airflow-2025-54831, GHSA-q475-2pgm-7hvp, PYSEC-2025-85.