Apache Airflow OpenSearch Logging Credential Leak Vulnerability

Vulnerability

A vulnerability exists in the OpenSearch logging provider of Apache Airflow, specifically in versions prior to 1.9.1. When the host URL is configured to include credentials, such as in the format 'https://user:password@server.example.com:9200', the full URL with the embedded credentials is logged in task logs. This allows any user with permission to read task logs to access the backend credentials. To address this issue, users should upgrade to 'apache-airflow-providers-opensearch' version 1.9.1 or later. Additionally, as a defense-in-depth measure, it is recommended to configure backend credentials using a secret backend instead of embedding them in the OpenSearch host URL.

Impact

Exposed backend credentials to users with task-log read permission.

Remediation

Upgrade to 'apache-airflow-providers-opensearch' version 1.9.1 or later. As a defense-in-depth measure, configure backend credentials via a secret backend instead of embedding them in the OpenSearch host URL.

Added: May 11, 2026, 9:18 AM
Updated: May 11, 2026, 9:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
5.2
remediation
0.0
relevance
7.9
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.