Skip to main content

Apache Airflow Providers OpenSearch CVE-2026-43826

| EUVDEUVD-2026-29042 MEDIUM
Insertion of Sensitive Information into Log File (CWE-532)
2026-05-11 apache GHSA-xccp-97wp-3gjg
6.5
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Airflow dashboard
  2. Delivery
    Access task logs for OpenSearch-writing DAG
  3. Exploit
    Locate log entry with fallback host label
  4. Execution
    Extract embedded credentials from URL
  5. Persist
    Connect to OpenSearch backend using stolen credentials
  6. Impact
    Query or exfiltrate data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A09:2025 - Security Logging & Alerting Failures
ASVS 5.0
V16 - Security Logging and Error Handling Log data sanitization
Exploitation Conditions

The vulnerability requires all of the following specific conditions: (1) the OpenSearch connection host URL configured in [opensearch] host must embed credentials in the format scheme://user:password@host:port - using environment variables, secret backends, or separate username/password fields instead prevents exploitation; (2) the attacker must possess task-log read permissions within Airflow, requiring prior authentication and role assignment; (3) a task-log hit must be generated without a host field in its OpenSearch response, forcing the handler to use the configured host URL as a fallback label - if all hits explicitly include a host field, credentials remain unexposed. This is not a default configuration vulnerability; standard Airflow deployments using secret backends are unaffected. The network vector (AV:N) reflects that logs are accessed over the network (HTTP/HTTPS), not that the vulnerability itself is remotely exploitable without authentication.

Impact

CVSS 6.5 with CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N reflects network-accessible credential disclosure to authenticated users. However, EPSS 0.02% (percentile 4%) signals extremely low probability of real-world exploitation, suggesting this is a disclosure-class vulnerability with narrow applicability. Real-world risk depends on three factors: (1) the [opensearch] host configuration must embed credentials rather than using environment variables or secret backends (non-default hardening practice), (2) the attacker must have task-log read permissions (requires prior Airflow access), and (3) the attacker must discover logs containing hits without explicit host fields (implementation-dependent). The CVSS vector requires PR:L (low privilege - authenticated Airflow users), which is a significant limiting factor. This is a genuine credential-exposure vulnerability but unlikely to be exploited at scale due to better-practice alternatives being documented and available. No active exploitation confirmed in CISA KEV at time of analysis.

Exploit ScenarioDerived

An Airflow user with permission to read task logs accesses the logs from a DAG that writes to OpenSearch. When a log hit does not include a host field in its response, the task-log handler falls back to displaying the configured [opensearch] host URL as a grouping key. If this URL contains embedded credentials (e.g., https://admin:MyP@ssw0rd@opensearch.prod.internal:9200), the credentials appear verbatim in the task-log output. The attacker captures this log entry and extracts the OpenSearch credentials, then uses them to directly access the OpenSearch backend and exfiltrate data or alter indices.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 11, 2026

Apache Airflow Providers OpenSearch versions before 1.9.1 leak backend credentials in task logs when the OpenSearch connection host URL embeds credentials in the format https://user:password@server:9200. Any user with task-log read permission can extract these credentials from log output. The vulnerability is confirmed patched in version 1.9.1 and later, with an EPSS score of 0.02% indicating low real-world exploitation probability despite the moderate CVSS score.

RemediationAI

Upgrade to Apache Airflow Providers OpenSearch 1.9.1 or later immediately. This version strips embedded credentials from the host URL before using it as a log-source label, as documented in the PR diff and changelog at https://github.com/apache/airflow/pull/65509. As a defense-in-depth measure, configure OpenSearch backend credentials via a secret backend (Airflow's Secret Backend abstraction or environment variables) rather than embedding them directly in the [opensearch] host URL configuration. This alternative approach eliminates the attack surface entirely and is the recommended long-term posture. The patch has no breaking changes or performance impact - credential handling for the OpenSearch client remains identical; only log output sanitization is enhanced. For organizations unable to upgrade immediately, restrict task-log read permissions to only trusted administrative users and audit who has accessed logs containing OpenSearch connections.

Affected VersionsENISA

Apache Airflow Providers OpenSearch 0 <1.9.1

Affected Packages

pypi apache-airflow-providers-opensearch fix: 1.9.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The OpenSearch task-log handler in Apache Airflow stores connection URLs directly as log-source labels without sanitization. When the [opensearch] host configuration embeds HTTP Basic Authentication credentials as userinfo in the URL (per RFC 3986), these credentials persist into task-log output as dictionary keys when log hits do not carry their own host field. The underlying issue is improper handling of URL parsing and credential stripping before reusing the host URL as a display label. CWE-532 (Insertion of Sensitive Information into Log File) categorizes this as information exposure through logging rather than a flaw in the OpenSearch client itself. The fix implements a _strip_userinfo() function that parses the URL and reconstructs it without the user:password@ portion before using it as a log label.

Know when Apache Airflow Providers Opensearch gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Primary rating from Vendor (apache) · only source for this CVE.

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

3
CVSS changed
May 11, 2026 - 14:22 NVD
6.5 (MEDIUM)
CVE Published
May 11, 2026 - 08:21 nvd
UNKNOWN (no severity yet)
CVE Published
May 11, 2026 - 08:21 nvd
MEDIUM 6.5

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy