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

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-02)
- Published: 2026-04-30T09:09:45.529Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-x8mh-94wc-33gv, PYSEC-2026-24
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

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

(As written by CVE List.)

## Affected

- apache-airflow-providers-smtp: from 2.0.0 before 3.0.0
- apache-airflow-providers-smtp (PyPI): from 2.0.0 before 3.0.0
- apache airflow: from 2.0.0 before 3.0.0

## Every score

- CISA-ADP: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/apache/airflow/pull/65346> (fix, issue-tracking, patch, web)
- <https://lists.apache.org/thread/gb202qy5r31bgdd3d51d7s5o1jh40kc4> (advisory, mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41016> (advisory)
- <https://github.com/apache/airflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-smtp/PYSEC-2026-24.yaml> (web)
- <https://github.com/advisories/GHSA-x8mh-94wc-33gv> (advisory)

## Sources

- CVE List: [CVE-2026-41016](https://www.cve.org/CVERecord?id=CVE-2026-41016), CVE Terms of Use, modified 2026-04-30
- GitHub Advisory Database: [GHSA-x8mh-94wc-33gv](https://github.com/advisories/GHSA-x8mh-94wc-33gv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-41016](https://nvd.nist.gov/vuln/detail/CVE-2026-41016), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-24](https://osv.dev/vulnerability/PYSEC-2026-24), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2026-41016 · Whole record: https://cve.day/CVE-2026-41016.json · Rebuilt by cve.day 2026-11-25T22:59:20.274Z
