Apache Airflow missing Certificate Validation
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | apache-airflow | < 2.7.0 | 2.7.0 |
| Python (PyPI) | apache-airflow-providers-imap | < 3.3.0 | 3.3.0 |
| Python (PyPI) | apache-airflow-providers-smtp | < 1.3.0 | 1.3.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-39441
- https://github.com/apache/airflow/pull/33070
- https://github.com/apache/airflow/pull/33075
- https://github.com/apache/airflow/pull/33108
- https://github.com/apache/airflow/commit/38fc9cd823feafd8ec61d5d5c7eddb9e9162f755
- https://github.com/apache/airflow/commit/3bd8f020e8b7bdeb7f618bdbdfb3557f117b29d3
- https://github.com/apache/airflow/commit/dbacacbd4d476da757de148a4e747924c34fd7fe
- https://github.com/apache/airflow
- https://lists.apache.org/thread/xzp4wgjg2b1o6ylk2595df8bstlbo1lb
- http://www.openwall.com/lists/oss-security/2023/08/23/2
- https://pypi.org/project/apache-airflow
- https://github.com/advisories/GHSA-5f35-pq34-c87q
- https://pypi.org/project/apache-airflow-providers-imap
- https://pypi.org/project/apache-airflow-providers-smtp
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-295- Platform
- Python (PyPI)
- Package
apache-airflow, apache-airflow-providers-imap, apache-airflow-providers-smtp- Disclosed
- 23.08.2023
- Updated
- 11.10.2026 14:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1130 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-2368 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-5f35-pq34-c87q - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-2371 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: apache-airflow-providers-imap
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.