CVE-2026-41016Apache Airflow
Medium 5.9 No auth needed
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- Apr 30, 2026
- Updated
- Oct 26, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Airflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-airflow-providers-smtp |
≥ 2.0.0 < 3.0.0 |
3.0.0 |
pip install "apache-airflow-providers-smtp>=3.0.0" |
| PyPI | apache-airflow-providers-smtp |
≥ 2.0.0 < 3.0.0 |
3.0.0 |
pip install "apache-airflow-providers-smtp>=3.0.0" |
Per OSV / GitHub Advisories (GHSA-x8mh-94wc-33gv, PYSEC-2026-24). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | ≥ 2.0.0 < 3.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- lists.apache.org Mailing List Vendor Advisory