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

Published Apr 30, 2026
·
Updated

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.

Affected Software

2 affected components
pypi/apache-airflow-providers-smtp
Apache Airflow>=2.0.0<3.0.0

Event History

Apr 30, 2026
CVE Published
via MITRE·09:09 AM
Data Sourced
via MITRE·09:09 AM
DescriptionWeakness
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-41016?

CVE-2026-41016 is considered a moderate severity vulnerability due to the risks of man-in-the-middle attacks.

2

How do I fix CVE-2026-41016?

To fix CVE-2026-41016, implement SSL context for certificate validation in the SMTP provider's SmtpHook when using starttls().

3

Which versions of Apache Airflow Providers SMTP are affected by CVE-2026-41016?

CVE-2026-41016 affects the versions of the Apache Airflow Providers SMTP where the SmtpHook does not validate certificates during starttls().

4

Can CVE-2026-41016 be exploited remotely?

Yes, CVE-2026-41016 can be exploited remotely through untrusted network connections that may intercept and alter SMTP traffic.

5

Is there a workaround for CVE-2026-41016 before applying a patch?

A recommended workaround for CVE-2026-41016 is to use a trusted connection without relying on STARTTLS until a patch is available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203