VDB
Sign up
MEDIUM5.9

PYSEC-2026-2368

Apache Airflow missing Certificate Validation

Quick fix

PYSEC-2026-2368 — apache-airflow-providers-imap: upgrade to the fixed version with the command below.

pip install --upgrade 'apache-airflow-providers-imap>=3.3.0'

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/apache-airflow-providers-imap
Introduced in: 0Fixed in: 3.3.0
Fixpip install --upgrade 'apache-airflow-providers-imap>=3.3.0'

References