Apache Airflow missing Certificate Validation
Medium5.9CVE-2023-39441 · Published Aug 23, 2023 · updated Jul 13, 2026
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
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| apache-airflow PyPI | < 2.7.0 | 2.7.0 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-295
- Also known as
- BIT-airflow-2023-39441, CVE-2023-39441, PYSEC-2026-1130, PYSEC-2026-2368, PYSEC-2026-2371
- nvd.nist.gov/vuln/detail/CVE-2023-39441
- github.com/apache/airflow/pull/33070
- github.com/apache/airflow/pull/33075
- github.com/apache/airflow/pull/33108
- github.com/apache/airflow/commit/38fc9cd823feafd8ec61d5d5c7eddb9e9162f755
- github.com/apache/airflow/commit/3bd8f020e8b7bdeb7f618bdbdfb3557f117b29d3
- github.com/apache/airflow/commit/dbacacbd4d476da757de148a4e747924c34fd7fe
- github.com/apache/airflow
- lists.apache.org/thread/xzp4wgjg2b1o6ylk2595df8bstlbo1lb
- www.openwall.com/lists/oss-security/2023/08/23/2
More Apache Airflow advisories
All Apache Airflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Sep 122023 | Apache Airflow information exposure vulnerability | High6.5 | 2.7.1 |
| Sep 122023 | Apache Airflow Incorrect Authorization vulnerability | Medium4.3 | 2.7.1 |
| Aug 232023 | Apache Airflow Session Fixation vulnerability | High8.0 | 2.7.0rc2 |
| Aug 232023 | Apache Airflow denial of service vulnerability | High8.1 | 2.7.0b1 |
| Aug 112023 | Improper Input Validation vulnerability in Apache Software Foundation Apache Airflow Drill Provider | High7.5 | 2.4.3 |
| Aug 52023 | Apache Airflow Execution with Unnecessary Privileges | High8.8 | 2.6.0b1 |