CVE-2026-49267: Apache Airflow: No certificate validation on SMTP STARTTLS connections
Apache Airflow's EmailOperator and the underlying airflow.utils.email helpers established SMTP STARTTLS connections without verifying the remote certificate when the deployment used [email] smtpstarttls=True without [email] smtpssl. An attacker positioned between the worker and the configured SMTP server (network MITM — typical hostile-network attack-surface for environments where the SMTP relay sits outside the worker's trust boundary) could present a self-signed certificate, have the worker complete the STARTTLS handshake silently, and capture the SMTP AUTH credentials and message contents the worker forwarded.
This CVE covers the core apache-airflow side of the same root cause already covered for the SMTP provider by CVE-2026-41016 (published 2026-04-27, covering apache-airflow-providers-smtp). Users who already applied the SMTP-provider fix from CVE-2026-41016 should additionally upgrade apache-airflow to 3.2.2 or later to cover the core-side path through airflow.utils.email. Affects deployments configured with smtpstarttls=True and smtpssl=False where the SMTP relay is reachable across a less-trusted network segment than the worker.
Users are advised to upgrade to apache-airflow 3.2.2 or later.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
apache-airflowto a version that resolves this vulnerability.Fixed in 3.2.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch CVE-2026-49267
Event History
Frequently Asked Questions
What is the severity of CVE-2026-49267?
CVE-2026-49267 has a medium severity rating of 5.9 according to the CVSS 3.1 scoring system.
How do I fix CVE-2026-49267?
You can resolve CVE-2026-49267 by applying the available patch provided by Apache Airflow.
What is the risk associated with CVE-2026-49267?
The risk associated with CVE-2026-49267 is rated at 37, indicating a significant vulnerability related to unverified SMTP STARTTLS connections.
What components are affected by CVE-2026-49267?
CVE-2026-49267 affects the EmailOperator and the `airflow.utils.email` helpers within Apache Airflow.
Can CVE-2026-49267 lead to a man-in-the-middle attack?
Yes, CVE-2026-49267 can allow an attacker to intercept and impersonate the SMTP communications due to lack of certificate validation.