{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "3.0.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "8217db8cb4b1ff302c5cf8662477ac00f701e78c"
            },
            {
              "fixed": "1fc3442f1307fdf5e1221b26f41266c4fed330d3"
            }
          ],
          "repo": "https://github.com/apache/airflow",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-295"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41016.json"
  },
  "details": "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.",
  "id": "CVE-2026-41016",
  "modified": "2026-07-08T05:36:26.287867346Z",
  "published": "2026-04-30T09:09:45.529Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://pypi.python.org"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41016.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/gb202qy5r31bgdd3d51d7s5o1jh40kc4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-41016"
    },
    {
      "type": "FIX",
      "url": "https://github.com/apache/airflow/pull/65346"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Apache Airflow Providers SMTP: No certificate validation on SMTP STARTTLS connections in SMTP provider"
}