# CVE-2026-41016

> Vulnerability · severity: **MEDIUM** (CVSS 5.9).

## 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.

## Key facts

- **CVE ID:** CVE-2026-41016
- **Published:** 2026-04-30
- **CVSS severity:** MEDIUM
- **CVSS base score:** 5.9
- **CWE codes:** CWE-295

## Affected products

- `apache:airflow`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41016

## Citation

> AI Analytics. CVE-2026-41016. Retrieved 2026-07-10 from https://api.ai-analytics.org/cve/CVE-2026-41016. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*