{"api_version":"1","generated_at":"2026-04-30T12:37:42+00:00","cve":"CVE-2026-41016","urls":{"html":"https://cve.report/CVE-2026-41016","api":"https://cve.report/api/cve/CVE-2026-41016.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-41016","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-41016"},"summary":{"title":"Apache Airflow Providers SMTP: No certificate validation on SMTP STARTTLS connections in SMTP provider","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.","state":"PUBLISHED","assigner":"apache","published_at":"2026-04-30 10:16:01","updated_at":"2026-04-30 10:16:01"},"problem_types":["CWE-295","CWE-295 CWE-295: Improper Certificate Validation"],"metrics":[],"references":[{"url":"https://github.com/apache/airflow/pull/65346","name":"https://github.com/apache/airflow/pull/65346","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://lists.apache.org/thread/gb202qy5r31bgdd3d51d7s5o1jh40kc4","name":"https://lists.apache.org/thread/gb202qy5r31bgdd3d51d7s5o1jh40kc4","refsource":"security@apache.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-41016","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41016","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Apache Software Foundation","product":"Apache Airflow Providers SMTP","version":"affected 2.0.0 3.0.0 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Francis Bergin (@francisbergin)","lang":"en"},{"source":"CNA","value":"Jarek Potiuk","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://pypi.python.org","defaultStatus":"unaffected","packageName":"apache-airflow-providers-smtp","product":"Apache Airflow Providers SMTP","vendor":"Apache Software Foundation","versions":[{"lessThan":"3.0.0","status":"affected","version":"2.0.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Francis Bergin (@francisbergin)"},{"lang":"en","type":"remediation developer","value":"Jarek Potiuk"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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."}],"value":"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":[{"other":{"content":{"text":"low"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-295","description":"CWE-295: Improper Certificate Validation","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-30T09:09:45.529Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache"},"references":[{"tags":["patch"],"url":"https://github.com/apache/airflow/pull/65346"},{"tags":["vendor-advisory"],"url":"https://lists.apache.org/thread/gb202qy5r31bgdd3d51d7s5o1jh40kc4"}],"source":{"discovery":"UNKNOWN"},"title":"Apache Airflow Providers SMTP: No certificate validation on SMTP STARTTLS connections in SMTP provider","x_generator":{"engine":"airflow-s/generate_cve_json.py"}}},"cveMetadata":{"assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","assignerShortName":"apache","cveId":"CVE-2026-41016","datePublished":"2026-04-30T09:09:45.529Z","dateReserved":"2026-04-16T02:38:58.158Z","dateUpdated":"2026-04-30T09:09:45.529Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-30 10:16:01","lastModifiedDate":"2026-04-30 10:16:01","problem_types":["CWE-295","CWE-295 CWE-295: Improper Certificate Validation"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"41016","Ordinal":"1","Title":"Apache Airflow Providers SMTP: No certificate validation on SMTP","CVE":"CVE-2026-41016","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"41016","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Apache Airflow Providers SMTP: No certificate validation on SMTP"}]}}}