Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-41016: CWE-295: Improper Certificate Validation in Apache Software Foundation Apache Airflow Providers SMTP

0
Medium
VulnerabilityCVE-2026-41016cvecve-2026-41016cwe-295
Published: Thu Apr 30 2026 (04/30/2026, 09:09:45 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Airflow Providers SMTP

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/01/2026, 01:54:25 UTC

Technical Analysis

Apache Airflow Providers SMTP version 2.0.0 contains an improper certificate validation vulnerability (CWE-295) in its SmtpHook implementation. The vulnerability arises because the starttls() method is called without an SSL context, which disables certificate validation during the TLS handshake. Consequently, an attacker positioned between the Airflow worker and the SMTP server can perform a man-in-the-middle attack by presenting a self-signed certificate, successfully completing the STARTTLS upgrade, and capturing SMTP credentials sent during the subsequent login call. This vulnerability has a CVSS 3.1 base score of 5.9, indicating medium severity. No official patch or remediation guidance has been published by the vendor as of the provided data.

Potential Impact

An attacker capable of intercepting network traffic between the Airflow worker and the SMTP server can exploit this vulnerability to capture SMTP credentials by presenting a fraudulent TLS certificate during the STARTTLS upgrade. This compromises the confidentiality of SMTP credentials but does not affect integrity or availability. There are no known exploits in the wild at this time.

Mitigation Recommendations

No official patch or remediation level has been confirmed by the vendor yet. Users should monitor the Apache Software Foundation advisories for updates and upgrade to the fixed version of apache-airflow-providers-smtp once it is released. Until then, consider restricting network access between Airflow workers and SMTP servers to trusted networks to reduce the risk of man-in-the-middle attacks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-04-16T02:38:58.158Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69f407bccbff5d86100b0c68

Added to database: 5/1/2026, 1:54:04 AM

Last enriched: 5/1/2026, 1:54:25 AM

Last updated: 5/1/2026, 5:24:21 AM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses