CVE 5.9 MEDIUM

Apache Airflow Providers SMTP: No certificate validation on SMTP STARTTLS connections in SMTP provider_CVE-2026-41016

5.9 / 10
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Description

Apache Airflow's SMTP provider `SmtpHook` called Python's `smtplib.SMTP.starttls()` without an SSL context, so no certificate validation was performed on the TLS upgrade. A man-in-the-middle between the Airflow worker and the SMTP server could present a self-signed certificate, complete the STARTTLS upgrade, and capture the SMTP credentials sent during the subsequent `login()` call. Users are advised to upgrade to the `apache-airflow-providers-smtp` version that contains the fix.

Basic Information

ID CVE-2026-41016
Source apache
Published Apr 30, 2026 at 09:09
Modified Apr 30, 2026 at 13:17

Affected Product

Vendor Apache Software Foundation
Product Apache Airflow Providers SMTP
Version 2.0.0
Affected Versions Apache Software Foundation Apache Airflow Providers SMTP 2.0.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.