Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-49267

MEDIUM 5.9EPSS 12%

Apache Airflow: No certificate validation on SMTP STARTTLS connections

Also known as BIT-airflow-2026-49267, GHSA-799x-qp47-8qwq, PYSEC-2026-2346, PYSEC-2026-4396

Mitigation

  • Upgrade apache-airflow to 3.2.2 or later.
  • Upgrade apache-airflow-providers-smtp to 3.2.2 or later.

Who should check

  • Projects that depend on PyPI package apache-airflow (>= 2.0.0, < 3.2.2)
  • Projects that depend on PyPI package apache-airflow-providers-smtp (>= 2.0.0, < 3.2.2)
  • Anyone running Apache Software Foundation Apache Airflow >= 2.0.0, < 3.0.0
  • Anyone running Apache Software Foundation Apache Airflow >= 3.0.0, < 3.2.2

Vulnerability facts

Affected
apache-airflow >= 2.0.0, < 3.2.2; apache-airflow-providers-smtp >= 2.0.0, < 3.2.2
Fixed in
3.2.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.27% chance of exploitation in 30 days (percentile 12, 2026-11-26)
CWE
CWE-295
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
PyPI apache-airflow>= 2.0.0, < 3.2.23.2.2osv
PyPI apache-airflow-providers-smtp>= 2.0.0, < 3.2.23.2.2osv
Apache Software Foundation Apache Airflow>= 2.0.0, < 3.0.0—cvelist
Apache Software Foundation Apache Airflow>= 3.0.0, < 3.2.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-49267. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-49267.md
Affected: apache-airflow >= 2.0.0, < 3.2.2; apache-airflow-providers-smtp >= 2.0.0, < 3.2.2
Fixed in: 3.2.2

Steps:
1. Search this machine and project for apache-airflow (PyPI), apache-airflow-providers-smtp (PyPI), Apache Software Foundation Apache Airflow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-49267 being exploited?

There is no confirmed exploitation: CVE-2026-49267 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-49267?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2026-49267?

apache-airflow >= 2.0.0, < 3.2.2; apache-airflow-providers-smtp >= 2.0.0, < 3.2.2.

Is there a fix for CVE-2026-49267?

Yes. Fixed in 3.2.2. Upgrade apache-airflow to 3.2.2 or later. Upgrade apache-airflow-providers-smtp to 3.2.2 or later.

How do I check if I'm affected by CVE-2026-49267?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors