MEDIUM6.5
PYSEC-2026-23
Quick fix
PYSEC-2026-23 — apache-airflow-providers-opensearch: upgrade to the fixed version with the command below.
pip install --upgrade 'apache-airflow-providers-opensearch>=1.9.1'Details
The OpenSearch logging provider, when configured with a `host` URL that embeds credentials (for example `https://user:password@server.example.com:9200`), wrote the full host URL — including the embedded credentials — into task logs. Any user with task-log read permission could harvest the backend credentials. Users are advised to upgrade to `apache-airflow-providers-opensearch` 1.9.1 or later and, as a defense-in-depth measure, configure the backend credentials via a secret backend rather than embedding them in the `[opensearch] host` URL.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/apache-airflow-providers-opensearch
Introduced in:
0Fixed in: 1.9.1Fix
pip install --upgrade 'apache-airflow-providers-opensearch>=1.9.1'