CVE-2026-41016
Last modified
CVE-2026-41016 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Airflow | >= 2.0.0, < 3.0.0 |
References
- https://github.com/apache/airflow/pull/65346Issue Tracking, Patch
- https://lists.apache.org/thread/gb202qy5r31bgdd3d51d7s5o1jh40kc4Mailing List, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-41016?
How severe is CVE-2026-41016?
How do I fix CVE-2026-41016?
Are you affected by CVE-2026-41016?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
