CVE-2026-41016: Apache Airflow's SMTP provider `SmtpHook` called Python's `smtplib.SMTP.starttls()` without an SSL context, so
CVE-2026-41016 is a medium-severity flaw (CVSS 5.9) affecting airflow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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-sm
Why this priority
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 81%) |
| CISA exploited list | No |
| Weakness | CWE-295 |
| Published | 2026-04-30 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-41016?
airflow: upgrade to 3.0.0. Exact commands for each OS are on this page.
Is CVE-2026-41016 being exploited?
CVE-2026-41016 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-41016 affect?
CVE-2026-41016 affects airflow. Severity is medium (CVSS 5.9). 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 co
How urgent is CVE-2026-41016?
Priority 35/100. Remotely exploitable, no login, no user action; On your watchlist
Software pages
Python vulnerabilities · Apache Airflow vulnerabilities
Related CVEs
- CVE-2026-33858 HIGH 8.8 UPGRADE Dag Authors, who normally should not be able to execute code in the webserver context could craft XCom payload
- CVE-2026-32690 LOW 3.7 UPGRADE Secrets in Variables saved as JSON dictionaries were not properly redacted - in case thee variables were retri
- CVE-2026-30898 HIGH 8.8 UPGRADE An example of BashOperator in Airflow documentation suggested a way of passing dag_run.conf in the way that co
- CVE-2026-30912 HIGH 7.5 UPGRADE In case of SQL errors, exception/stack trace of errors was exposed in API even if "api/expose_stack_traces" wa
- CVE-2026-32228 HIGH 7.5 UPGRADE UI / API User with asset materialize permission could trigger dags they had no access to. Users are advised to