CVE-2026-49267
JSON

5.9medium

Apache Airflow: No certificate validation on SMTP STARTTLS connections

Severity
5.9medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-799x-qp47-8qwqBIT-AIRFLOW-2026-49267PYSEC-2026-2346PYSEC-2026-4396

Description

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. This 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. Users are advised to upgrade to `apache-airflow` 3.2.2 or later.

Affected

Product or packageVersionsReported by
apache-airflowfrom 2.0.0 before 3.0.0CVE List
apache-airflow-corefrom 3.0.0 before 3.2.2CVE List
apache-airflow (PyPI)from 2.0.0 before 3.2.2GitHub Advisory Database, PyPA Advisory Database
apache airflowfrom 2.0.0 before 3.2.2NVD
apache-airflow-providers-smtp (PyPI)from 2.0.0 before 3.2.2PyPA Advisory Database
airflow (Bitnami)from 2.0.0 before 3.2.2Bitnami Vulnerability Database

All scores

CISA-ADP5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-295

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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. This 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. Users are advised to upgrade to `apache-airflow` 3.2.2 or later.

NVD (es)

El EmailOperator de Apache Airflow y las funciones auxiliares subyacentes 'airflow.utils.email' establecían conexiones SMTP STARTTLS sin verificar el certificado remoto cuando la implementación utilizaba '[email] smtp_starttls=True' sin '[email] smtp_ssl'. Un atacante posicionado entre el worker y el servidor SMTP configurado (MitM de red - superficie de ataque típica de red hostil para entornos donde el relé SMTP se encuentra fuera del límite de confianza del worker) podría presentar un certificado autofirmado, hacer que el worker completara el handshake STARTTLS silenciosamente, y capturar las credenciales SMTP AUTH y el contenido del mensaje que el worker reenviaba. Este CVE cubre el lado central de apache-airflow de la misma causa raíz ya cubierta para el proveedor SMTP por 'CVE-2026-41016' (publicado el 27-04-2026, cubriendo 'apache-airflow-providers-smtp'). Los usuarios que ya aplicaron la corrección del proveedor SMTP de CVE-2026-41016 deberían actualizar adicionalmente 'apache-airflow' a 3.2.2 o posterior para cubrir la ruta del lado central a través de 'airflow.utils.email'. Afecta a las implementaciones configuradas con 'smtp_starttls=True' y 'smtp_ssl=False' donde el relé SMTP es accesible a través de un segmento de red menos confiable que el worker. Se aconseja a los usuarios actualizar a 'apache-airflow' 3.2.2 o posterior.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49267 changed 2026-11-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-799x-qp47-8qwq changed 2026-11-23CC-BY-4.0
NVDCVE-2026-49267 changed 2026-11-03Public domain
PyPA Advisory DatabasePYSEC-2026-2346 changed 2026-11-23CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-4396 changed 2026-11-23CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-AIRFLOW-2026-49267 changed 2026-11-23Apache-2.0