p PatchFirst

CVE-2026-41016

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.9 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • apache airflow providers smtp

    Versions
    • ≥ 2.0.0, < 3.0.0: Affected (semver)

    Update to 3.0.0

  • apache-airflow-providers-smtp PyPI

    Versions
    • 2.0.0
    • 2.0.1
    • 2.0.1rc1
    • 2.0.2
    • 2.0.2rc1
    • 2.0.3
    • 2.0.3rc1
    • 2.1.0
    • 2.1.0rc1
    • 2.1.1
    • 2.1.1rc1
    • 2.1.2
    • 2.1.2rc1
    • 2.2.0
    • 2.2.0rc1
    • 2.2.1
    • 2.2.1rc1
    • 2.3.0
    • 2.3.0rc1
    • 2.3.1
    • 2.3.1rc1
    • 2.3.2
    • 2.3.2rc1
    • 2.4.0
    • 2.4.0rc1
    • 2.4.1
    • 2.4.1rc1
    • 2.4.2
    • 2.4.2rc1
    • 2.4.3
    • 2.4.3rc1
    • 2.4.4
    • 2.4.4rc1
    • 2.4.5
    • 2.4.5rc1
    • 3.0.0rc1
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.0, < 3.0.0

    Update to 3.0.0

Original sources

Check your server →