Insertion of Sensitive Information into Log File Affecting apache-airflow-providers-opensearch package, versions [1.5.0rc1,1.9.1rc1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-APACHEAIRFLOWPROVIDERSOPENSEARCH-16636193
  • published11 May 2026
  • disclosed11 May 2026
  • creditOwen-CH-Leung, Aleksandr Sozinov

Introduced: 11 May 2026

CVE-2026-43826  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade apache-airflow-providers-opensearch to version 1.9.1rc1 or higher.

Overview

apache-airflow-providers-opensearch is a Provider package apache-airflow-providers-opensearch for Apache Airflow

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File via the _group_logs_by_host method in os_task_handler.py. An attacker can expose the user:password@ portion of the configured OpenSearch host by causing task-log grouping to fall back to the raw [opensearch] host value when log hits do not include a host field. The leaked credentials appear in task logs as the log-source label, allowing anyone with access to those logs to recover the OpenSearch connection secret and use it to access the backend.

Workarounds

  • Configure backend credentials via a secret backend instead of embedding user:password@ in the [opensearch] host URL; this prevents the credentials from being written into task logs when log-source labels are generated.

CVSS Base Scores

version 4.0
version 3.1