🇰🇷 한글 설명
Apache Airflow의 EmailOperator 및 airflow.utils.email 헬퍼가 [email] smtp_starttls=True이고 smtp_ssl이 설정되지 않은 경우 원격 인증서를 검증하지 않고 SMTP STARTTLS 연결을 수립합니다. 워커와 SMTP 서버 사이에 위치한 공격자는 자체 서명 인증서를 제시하여 SMTP 인증 자격증명과 메일 내용을 탈취할 수 있습니다. 이 CVE는 CVE-2026-41016(SMTP 프로바이더)과 동일한 근본 원인의 코어 측 경로를 다룹니다.
💡 쉬운 설명
Airflow가 이메일을 보낼 때 메일 서버의 신원을 제대로 확인하지 않습니다. 네트워크 중간에서 가짜 서버 인증서를 내세우면 이메일 로그인 정보와 메일 내용이 노출될 수 있습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
apache-airflow 3.2.2 미만 버전, smtp_starttls=True 및 smtp_ssl=False로 설정된 배포 환경
⚔️ 공격 벡터
워커와 SMTP 서버 사이의 네트워크에서 MITM 공격자가 자체 서명 인증서를 제시해 STARTTLS 핸드셰이크를 가로채 자격증명과 메시지를 수집
🛡️ 대응 방법
apache-airflow를 3.2.2 이상으로 업그레이드하고, SMTP 프로바이더도 CVE-2026-41016 수정 버전으로 함께 업그레이드
🔧 검증 코드
출력된 버전이 3.2.2 이상이면 패치가 적용된 것이며, 3.2.2 미만이면 업그레이드가 필요합니다.
pip show apache-airflow 2>/dev/null | grep -i '^version'