Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. apache-airflow
  4. ›
  5. CVE-2025-54831

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

September 26, 2025

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.

References

  • github.com/advisories/GHSA-q475-2pgm-7hvp
  • github.com/apache/airflow
  • lists.apache.org/thread/vblmfqtydrp5zgn2q8tj3slk5podxspf
  • nvd.nist.gov/vuln/detail/CVE-2025-54831

Code Behaviors & Features

Detect and mitigate CVE-2025-54831 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.3 before 3.0.4, version 3.0.3

Fixed versions

  • 3.0.4

Solution

Upgrade to version 3.0.4 or above.

Weakness

  • CWE-213: Exposure of Sensitive Information Due to Incompatible Policies

Source file

pypi/apache-airflow/CVE-2025-54831.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 03 Oct 2025 12:19:51 +0000.