CVE-2026-41016CWE-295

Apache Airflow Providers SMTP: No certificate validation on SMTP STARTTLS connections in SMTP provider

Medium · published April 30, 2026

CVSS v3.1
5.9
EPSS
0%
Percentile
17.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00268 · 17.9th percentile
Weakness
CWE-295 · Improper Certificate Validation
Published
2026-04-30T09:09Z
EPSS history
Timeline
  • 30 APR 09:09Z
    Apache Airflow Providers SMTP: No certificate validation on SMTP STARTTLS connections in SMTP provider
    cvelistv5