CVE-2026-49267: CWE-295: Improper Certificate Validation in Apache Software Foundation Apache Airflow
Apache Airflow versions configured with smtp_starttls=True and smtp_ssl=False establish SMTP STARTTLS connections without verifying the remote server's certificate. This improper certificate validation allows a network man-in-the-middle attacker to present a self-signed certificate, causing the worker to complete the TLS handshake silently and potentially expose SMTP authentication credentials and email contents. The vulnerability affects Apache Airflow core prior to version 3.2.2 and is related to a previously addressed issue in the SMTP provider component. Users should upgrade to Apache Airflow 3.2.2 or later to mitigate this risk.
AI Analysis
Technical Summary
CVE-2026-49267 describes an improper certificate validation vulnerability (CWE-295) in Apache Airflow's EmailOperator and underlying airflow.utils.email helpers. When configured with smtp_starttls=True and smtp_ssl=False, the SMTP STARTTLS connection does not verify the remote SMTP server's certificate. This allows an attacker positioned between the Airflow worker and the SMTP server to perform a man-in-the-middle attack by presenting a self-signed certificate. The worker completes the STARTTLS handshake without validation, exposing SMTP AUTH credentials and message contents. This vulnerability affects the core Apache Airflow component and complements a related vulnerability in the apache-airflow-providers-smtp package (CVE-2026-41016). The issue is fixed in Apache Airflow 3.2.2 and later.
Potential Impact
An attacker able to intercept network traffic between the Airflow worker and the SMTP server can present a fraudulent certificate during the STARTTLS handshake. Because the certificate is not validated, the attacker can decrypt SMTP authentication credentials and email message contents sent by the worker. This compromises confidentiality of email data and credentials, potentially allowing further unauthorized access or data leakage. The vulnerability requires a network man-in-the-middle position and affects deployments where the SMTP relay is outside the worker's trust boundary and configured with smtp_starttls=True and smtp_ssl=False.
Mitigation Recommendations
Users should upgrade Apache Airflow to version 3.2.2 or later, which addresses this improper certificate validation issue in the core airflow.utils.email code path. Additionally, users who have applied the fix for the related SMTP provider vulnerability (CVE-2026-41016) should ensure their core Airflow version is also updated to 3.2.2 or later. There is no indication that temporary workarounds or configuration changes fully mitigate this issue without upgrading. Patch status is not explicitly confirmed in the advisory, but the vendor recommends upgrading to 3.2.2 or later as the remediation.
CVE-2026-49267: CWE-295: Improper Certificate Validation in Apache Software Foundation Apache Airflow
Description
Apache Airflow versions configured with smtp_starttls=True and smtp_ssl=False establish SMTP STARTTLS connections without verifying the remote server's certificate. This improper certificate validation allows a network man-in-the-middle attacker to present a self-signed certificate, causing the worker to complete the TLS handshake silently and potentially expose SMTP authentication credentials and email contents. The vulnerability affects Apache Airflow core prior to version 3.2.2 and is related to a previously addressed issue in the SMTP provider component. Users should upgrade to Apache Airflow 3.2.2 or later to mitigate this risk.
CVSS v3.1
Score 5.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49267 describes an improper certificate validation vulnerability (CWE-295) in Apache Airflow's EmailOperator and underlying airflow.utils.email helpers. When configured with smtp_starttls=True and smtp_ssl=False, the SMTP STARTTLS connection does not verify the remote SMTP server's certificate. This allows an attacker positioned between the Airflow worker and the SMTP server to perform a man-in-the-middle attack by presenting a self-signed certificate. The worker completes the STARTTLS handshake without validation, exposing SMTP AUTH credentials and message contents. This vulnerability affects the core Apache Airflow component and complements a related vulnerability in the apache-airflow-providers-smtp package (CVE-2026-41016). The issue is fixed in Apache Airflow 3.2.2 and later.
Potential Impact
An attacker able to intercept network traffic between the Airflow worker and the SMTP server can present a fraudulent certificate during the STARTTLS handshake. Because the certificate is not validated, the attacker can decrypt SMTP authentication credentials and email message contents sent by the worker. This compromises confidentiality of email data and credentials, potentially allowing further unauthorized access or data leakage. The vulnerability requires a network man-in-the-middle position and affects deployments where the SMTP relay is outside the worker's trust boundary and configured with smtp_starttls=True and smtp_ssl=False.
Mitigation Recommendations
Users should upgrade Apache Airflow to version 3.2.2 or later, which addresses this improper certificate validation issue in the core airflow.utils.email code path. Additionally, users who have applied the fix for the related SMTP provider vulnerability (CVE-2026-41016) should ensure their core Airflow version is also updated to 3.2.2 or later. There is no indication that temporary workarounds or configuration changes fully mitigate this issue without upgrading. Patch status is not explicitly confirmed in the advisory, but the vendor recommends upgrading to 3.2.2 or later as the remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-05-28T16:39:15.393Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a1d4e79e29bf47b50cd4b53
Added to database: 06/01/2026, 09:18:49 UTC
Last enriched: 07/10/2026, 09:49:56 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.