{"vuln_id":"CVE-2026-41016","aliases":[],"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.","published_at":"2026-04-30T10:16:01.930000Z","modified_at":"2026-10-26T21:10:00.170000Z","first_seen_at":"2026-11-24T03:06:38.752829Z","severity":"medium","severity_source":"nvd","cvss_score":5.9,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-295"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00268,"epss_percentile":0.19096,"nvd_status":"Analyzed","enriched_at":"2026-11-24T04:07:43.355263Z","links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-41016"},"matched_alias":null,"items":[{"id":17309,"source":{"id":"osv","name":"OSV.dev"},"title":"PYSEC-2026-2346: Apache Airflow has no certificate validation on SMTP STARTTLS connections","summary":"Apache Airflow has no certificate validation on SMTP STARTTLS connections\n\nApache Airflow's EmailOperator and the underlying `airflow.utils.email` helpers established SMTP STARTTLS connections without verifying the remote certificate when the deployment used `[email] smtp_starttls=True` without `[email] smtp_ssl`. An attacker positioned between the worker and the configured SMTP server (network MITM — typical hostile-network attack-surface for environments where the SMTP relay sits outside the worker's trust boundary) could present a self-signed certificate, have the worker complete the STARTTLS handshake silently, and capture the SMTP AUTH credentials and message contents the worker forwarded.\n\nThis CVE covers the **core apache-airflow side** of the same root cause already covered for the SMTP provider by `CVE-2026-41016` (published 2026-04-27, covering `apache-airflow-providers-smtp`). Users who already applied the SMTP-provider fix from CVE-2026-41016 should additionally upgrade `apache-airflow` to 3.2.2 or later to cover the core-side path through `airflow.utils.email`. Affects deployments configured with `smtp_starttls=True` and `smtp_ssl=False` where the SMTP relay is reachable across a less-trusted network segment than the worker.\n\nUsers are advised to upgrade to `apache-airflow` 3.2.2 or later.\n\nAffected: PyPI:apache-airflow\n\nFixed in: 3.2.2\n\nReferences:\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-49267\nhttps://github.com/apache/airflow/pull/65346\nhttps://github.com/apache/airflow\nhttps://lists.apache.org/thread/6v2ds757000msmjmovnnqryqzks83ps0\nhttps://pypi.org/project/apache-airflow\nhttps://github.com/advisories/GHSA-799x-qp47-8qwq","url":"https://osv.dev/vulnerability/PYSEC-2026-2346","published_at":"2026-07-13T15:35:22.979724Z","updated_at":"2026-11-23T23:11:18.248369Z","fetched_at":"2026-11-24T03:06:38.634222Z","severity":"medium","cvss_score":5.9,"epss":0.00268,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"apache","product":"apache-airflow","vuln_id":"CVE-2026-49267","vuln_ids":["CVE-2026-41016","CVE-2026-49267","BIT-AIRFLOW-2026-49267","GHSA-799X-QP47-8QWQ","PYSEC-2026-2346","PYSEC-2026-4396"],"tags":["osv","pypi","fix-available"],"cluster_id":15300,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17309","html":"https://vulnwatch.ve1ve2.com/item/17309"}},{"id":17308,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-799x-qp47-8qwq: Apache Airflow has no certificate validation on SMTP STARTTLS connections","summary":"Apache Airflow has no certificate validation on SMTP STARTTLS connections\n\nApache Airflow's EmailOperator and the underlying `airflow.utils.email` helpers established SMTP STARTTLS connections without verifying the remote certificate when the deployment used `[email] smtp_starttls=True` without `[email] smtp_ssl`. An attacker positioned between the worker and the configured SMTP server (network MITM — typical hostile-network attack-surface for environments where the SMTP relay sits outside the worker's trust boundary) could present a self-signed certificate, have the worker complete the STARTTLS handshake silently, and capture the SMTP AUTH credentials and message contents the worker forwarded.\n\nThis CVE covers the **core apache-airflow side** of the same root cause already covered for the SMTP provider by `CVE-2026-41016` (published 2026-04-27, covering `apache-airflow-providers-smtp`). Users who already applied the SMTP-provider fix from CVE-2026-41016 should additionally upgrade `apache-airflow` to 3.2.2 or later to cover the core-side path through `airflow.utils.email`. Affects deployments configured with `smtp_starttls=True` and `smtp_ssl=False` where the SMTP relay is reachable across a less-trusted network segment than the worker.\n\nUsers are advised to upgrade to `apache-airflow` 3.2.2 or later.\n\nAffected: PyPI:apache-airflow\n\nFixed in: 3.2.2\n\nReferences:\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-49267\nhttps://github.com/apache/airflow/pull/65346\nhttps://github.com/apache/airflow\nhttps://lists.apache.org/thread/6v2ds757000msmjmovnnqryqzks83ps0","url":"https://osv.dev/vulnerability/GHSA-799x-qp47-8qwq","published_at":"2026-06-01T09:31:15Z","updated_at":"2026-11-23T23:11:18.248369Z","fetched_at":"2026-11-24T03:06:38.634216Z","severity":"medium","cvss_score":5.9,"epss":0.00268,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"apache","product":"apache-airflow","vuln_id":"CVE-2026-49267","vuln_ids":["CVE-2026-41016","CVE-2026-49267","BIT-AIRFLOW-2026-49267","GHSA-799X-QP47-8QWQ","PYSEC-2026-2346","PYSEC-2026-4396"],"tags":["osv","pypi","fix-available"],"cluster_id":15299,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17308","html":"https://vulnwatch.ve1ve2.com/item/17308"}},{"id":17310,"source":{"id":"osv","name":"OSV.dev"},"title":"PYSEC-2026-4396: Apache Airflow's EmailOperator and the underlying `airflow.utils.email` helpers established SMTP STARTTLS connections without verifying the remote certificate…","summary":"Apache Airflow's EmailOperator and the underlying `airflow.utils.email` helpers established SMTP STARTTLS connections without verifying the remote certificate when the deployment used `[email] smtp_starttls=True` without `[email] smtp_ssl`. An attacker positioned between the worker and the configured SMTP server (network MITM — typical hostile-network attack-surface for environments where the SMTP relay sits outside the worker's trust boundary) could present a self-signed certificate, have the worker complete the STARTTLS handshake silently, and capture the SMTP AUTH credentials and message contents the worker forwarded.\n\nThis CVE covers the **core apache-airflow side** of the same root cause already covered for the SMTP provider by `CVE-2026-41016` (published 2026-04-27, covering `apache-airflow-providers-smtp`). Users who already applied the SMTP-provider fix from CVE-2026-41016 should additionally upgrade `apache-airflow` to 3.2.2 or later to cover the core-side path through `airflow.utils.email`. Affects deployments configured with `smtp_starttls=True` and `smtp_ssl=False` where the SMTP relay is reachable across a less-trusted network segment than the worker.\n\nUsers are advised to upgrade to `apache-airflow` 3.2.2 or later.\n\nAffected: PyPI:apache-airflow-providers-smtp\n\nFixed in: 3.2.2\n\nReferences:\nhttps://lists.apache.org/thread/6v2ds757000msmjmovnnqryqzks83ps0\nhttps://github.com/apache/airflow/pull/65346","url":"https://osv.dev/vulnerability/PYSEC-2026-4396","published_at":"2026-06-01T09:16:20.543000Z","updated_at":"2026-11-23T23:11:18.248369Z","fetched_at":"2026-11-24T03:06:38.634223Z","severity":"medium","cvss_score":5.9,"epss":0.00268,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"apache","product":"apache-airflow-providers-smtp","vuln_id":"CVE-2026-49267","vuln_ids":["CVE-2026-41016","CVE-2026-49267","BIT-AIRFLOW-2026-49267","GHSA-799X-QP47-8QWQ","PYSEC-2026-2346","PYSEC-2026-4396"],"tags":["osv","pypi","fix-available"],"cluster_id":15300,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17310","html":"https://vulnwatch.ve1ve2.com/item/17310"}}]}