Read the docs
TI-2023-20577 Aliases CVE-2023-39441GHSA-5f35-pq34-c87q

Improper certificate validation in Apache Airflow SMTP Provider

Priority LOW 28CWE-295Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Spoofing
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-295.

Summary

Apache Airflow SMTP Provider before 1.3.0, Apache Airflow IMAP Provider before 3.3.0, and Apache Airflow before 2.7.0 are affected by the Validation of OpenSSL Certificate vulnerability. The default SSL context with SSL library did not check a server's X.509 certificate.  Instead, the code accepted any certificate, which could result in the disclosure of mail server credentials or mail contents when the client connects to an attacker in a MITM position. Users are strongly advised to upgrade to Apache Airflow version 2.7.0 or newer, Apache Airflow IMAP Provider version 3.3.0 or newer, and Apache Airflow SMTP Provider version 1.3.0 or newer to mitigate the risk associated with this vulnerability

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00804 56th percentileScored 2026-11-08
Fix Fixed Apache Airflow SMTP Provider (Apache Software Foundation): 1.30Apache Airflow IMAP Provider (Apache Software Foundation): 3.3.0+4 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ApacheApache Airflow SMTP Providerbefore 1.301.30Patch availableCNA
ApacheApache Airflow IMAP Providerbefore 3.3.03.3.0Patch availableCNA
ApacheApache Airflowbefore 2.7.02.7.0Patch availableCNA
—apache-airflow-providers-smtp (PyPI)before 1.3.01.3.0Patch availableGHSA-5f35-pq34-c87q
—apache-airflow-providers-imap (PyPI)before 3.3.03.3.0Patch availableGHSA-5f35-pq34-c87q
—apache-airflow (PyPI)before 2.7.02.7.0Patch availableGHSA-5f35-pq34-c87q
  • Apache Airflow SMTP Provider VendorApache Affected before 1.30 Fixed in 1.30 Patch available CNA
  • Apache Airflow IMAP Provider VendorApache Affected before 3.3.0 Fixed in 3.3.0 Patch available CNA
  • Apache Airflow VendorApache Affected before 2.7.0 Fixed in 2.7.0 Patch available CNA
  • apache-airflow-providers-smtp (PyPI) Vendor— Affected before 1.3.0 Fixed in 1.3.0 Patch available GHSA-5f35-pq34-c87q
  • apache-airflow-providers-imap (PyPI) Vendor— Affected before 3.3.0 Fixed in 3.3.0 Patch available GHSA-5f35-pq34-c87q
  • apache-airflow (PyPI) Vendor— Affected before 2.7.0 Fixed in 2.7.0 Patch available GHSA-5f35-pq34-c87q

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*before 2.7.0VulnerableApache
cpe:2.3:a:apache:apache-airflow-providers-imap:*:*:*:*:*:*:*:*before 3.3.0VulnerableApache
cpe:2.3:a:apache:apache-airflow-providers-smtp:*:*:*:*:*:*:*:*before 1.3.0VulnerableApache
  • cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:* Versions before 2.7.0 Vulnerable ·Apache
  • cpe:2.3:a:apache:apache-airflow-providers-imap:*:*:*:*:*:*:*:* Versions before 3.3.0 Vulnerable ·Apache
  • cpe:2.3:a:apache:apache-airflow-providers-smtp:*:*:*:*:*:*:*:* Versions before 1.3.0 Vulnerable ·Apache

Remediation

  • Fix · CNA Apache Airflow SMTP Provider (Apache Software Foundation) Fixed in 1.30
  • Fix · CNA Apache Airflow IMAP Provider (Apache Software Foundation) Fixed in 3.3.0
  • Fix · CNA Apache Airflow (Apache Software Foundation) Fixed in 2.7.0
  • Fix · GHSA-5f35-pq34-c87q apache-airflow-providers-smtp (PyPI) Fixed in 1.3.0 Advisory →
  • Fix · GHSA-5f35-pq34-c87q apache-airflow-providers-imap (PyPI) Fixed in 3.3.0 Advisory →
  • Fix · GHSA-5f35-pq34-c87q apache-airflow (PyPI) Fixed in 2.7.0 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Apache Airflow 2.7.0

    3 records Highest priority Priority MEDIUM 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2023-21115 Session fixation in Apache Airflow web interfacePriority MEDIUM 41
    • TI-2023-19005 Apache Airflow: Exposure of sensitive connection information, DOS and SSRF on "test connection" featurePriority LOW 39

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-39441
  2. 2026-10-03 Alias added: GHSA-5f35-pq34-c87q

References

  • TI-2020-10905 Missing authentication in Apache Airflow KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-09638 OS command injection in Apache Airflow KEVCVSS 3.1HIGH 8.8
  • TI-2022-19017 Apache Airflow <2.4.0 has an RCE in a bash example CVSS 3.1HIGH 8.8
  • TI-2021-16140 Apache Airflow: Variable Import endpoint missed authentication check CVSS 3.1CRITICAL 9.8
  • TI-2022-08169 Apache Airflow: RCE in example DAGs CVSS 3.1HIGH 8.8
  • TI-2024-26776 Apache Airflow: DAG Author Code Execution possibility in airflow-scheduler CVSS 3.1HIGH 8.8
See all 157 →

Sources