PYSEC-2026-2344
Apache Airlfow: Sensitive Azure Service Bus connection string (and possibly other providers) exposed to users with view access
Quick fix
PYSEC-2026-2344 — apache-airflow: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-airflow>=3.1.8'Details
The `access_key` and `connection_string` connection properties were not marked as sensitive names in secrets masker. This means that user with read permission could see the values in Connection UI, as well as when Connection was accidently logged to logs, those values could be seen in the logs. Azure Service Bus used those properties to store sensitive values. Possibly other providers could be also affected if they used the same fields to store sensitive data.
If you used Azure Service Bus connection with those values set or if you have other connections with those values storing senesitve values, you should upgrade Airflow to 3.1.8.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-25219[ADVISORY]
- https://github.com/apache/airflow/pull/61580[WEB]
- https://github.com/apache/airflow/pull/61582[WEB]
- https://github.com/apache/airflow[PACKAGE]
- https://lists.apache.org/thread/t4dlmqkn0njz4chk3g7mdgzb96y4ttqh[WEB]
- http://www.openwall.com/lists/oss-security/2026/04/15/3[WEB]
- https://pypi.org/project/apache-airflow[PACKAGE]
- https://github.com/advisories/GHSA-4g48-54q2-fg7q[ADVISORY]