PYSEC-2026-24
Vulnerability from pysec - Published: 2026-04-30 10:16 - Updated: 2026-05-20 09:18Apache 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.
| Name | purl | apache-airflow-providers-smtp | pkg:pypi/apache-airflow-providers-smtp |
|---|
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "apache-airflow-providers-smtp",
"purl": "pkg:pypi/apache-airflow-providers-smtp"
},
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "3.0.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.0",
"2.0.1",
"2.0.1rc1",
"2.0.2",
"2.0.2rc1",
"2.0.3",
"2.0.3rc1",
"2.1.0",
"2.1.0rc1",
"2.1.1",
"2.1.1rc1",
"2.1.2",
"2.1.2rc1",
"2.2.0",
"2.2.0rc1",
"2.2.1",
"2.2.1rc1",
"2.3.0",
"2.3.0rc1",
"2.3.1",
"2.3.1rc1",
"2.3.2",
"2.3.2rc1",
"2.4.0",
"2.4.0rc1",
"2.4.1",
"2.4.1rc1",
"2.4.2",
"2.4.2rc1",
"2.4.3",
"2.4.3rc1",
"2.4.4",
"2.4.4rc1",
"2.4.5",
"2.4.5rc1",
"3.0.0rc1"
]
}
],
"aliases": [
"CVE-2026-41016",
"GHSA-x8mh-94wc-33gv"
],
"details": "Apache Airflow\u0027s SMTP provider `SmtpHook` called Python\u0027s `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.",
"id": "PYSEC-2026-24",
"modified": "2026-05-20T09:18:52.135285Z",
"published": "2026-04-30T10:16:01.930Z",
"references": [
{
"type": "ADVISORY",
"url": "https://lists.apache.org/thread/gb202qy5r31bgdd3d51d7s5o1jh40kc4"
},
{
"type": "FIX",
"url": "https://github.com/apache/airflow/pull/65346"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-x8mh-94wc-33gv"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.