---
id: CVE-2023-39441
aliases:
  - GHSA-5f35-pq34-c87q
  - BIT-airflow-2023-39441
  - PYSEC-2026-1130
title: Apache Airflow missing Certificate Validation
summary: Apache Airflow missing Certificate Validation
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
vendor: apache-airflow-providers-smtp
product: apache-airflow-providers-smtp
ecosystem: pip
affected:
  - apache-airflow-providers-smtp < 1.3.0
  - apache-airflow-providers-imap < 3.3.0
  - apache-airflow < 2.7.0
patched:
  - apache-airflow-providers-smtp 1.3.0
  - apache-airflow-providers-imap 3.3.0
  - apache-airflow 2.7.0
published: '2023-08-23'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-5f35-pq34-c87q'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-39441'
  - url: 'https://github.com/apache/airflow/pull/33070'
  - url: 'https://github.com/apache/airflow/pull/33075'
  - url: 'https://github.com/apache/airflow/pull/33108'
  - url: >-
      https://github.com/apache/airflow/commit/38fc9cd823feafd8ec61d5d5c7eddb9e9162f755
  - url: >-
      https://github.com/apache/airflow/commit/3bd8f020e8b7bdeb7f618bdbdfb3557f117b29d3
  - url: >-
      https://github.com/apache/airflow/commit/dbacacbd4d476da757de148a4e747924c34fd7fe
  - url: 'https://github.com/apache/airflow'
  - url: 'https://lists.apache.org/thread/xzp4wgjg2b1o6ylk2595df8bstlbo1lb'
  - url: 'http://www.openwall.com/lists/oss-security/2023/08/23/2'
tags:
  - osv
  - pip
epss: 0.00804
epssPercentile: 0.55236
ingestedAt: '2026-07-08T18:25:45.983Z'
---

## Overview

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 packages

- `apache-airflow-providers-smtp < 1.3.0`
- `apache-airflow-providers-imap < 3.3.0`
- `apache-airflow < 2.7.0`

## Remediation

Upgrade to a patched release:

- `apache-airflow-providers-smtp 1.3.0`
- `apache-airflow-providers-imap 3.3.0`
- `apache-airflow 2.7.0`
