CVE-2023-39441Apache Airflow
Medium 5.9 No auth needed
Follow: this CVE · Apache · Apache Airflow We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 49
- Auth required
- No
- Published
- Aug 23, 2023
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-295
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
What to do
- Apply the vendor's security update for Airflow.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | apache-airflow |
< 2.7.0 |
2.7.0 |
pip install "apache-airflow>=2.7.0" |
| PyPI | apache-airflow |
< 2.7.0 |
2.7.0 |
pip install "apache-airflow>=2.7.0" |
| PyPI | apache-airflow-providers-imap |
< 3.3.0 |
3.3.0 |
pip install "apache-airflow-providers-imap>=3.3.0" |
| PyPI | apache-airflow-providers-imap |
< 3.3.0 |
3.3.0 |
pip install "apache-airflow-providers-imap>=3.3.0" |
| PyPI | apache-airflow-providers-smtp |
< 1.3.0 |
1.3.0 |
pip install "apache-airflow-providers-smtp>=1.3.0" |
| PyPI | apache-airflow-providers-smtp |
< 1.3.0 |
1.3.0 |
pip install "apache-airflow-providers-smtp>=1.3.0" |
Per OSV / GitHub Advisories (GHSA-5f35-pq34-c87q, PYSEC-2026-1130, PYSEC-2026-2368, PYSEC-2026-2371). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | airflow | < 2.7.0 |
| apache | apache-airflow-providers-imap | < 3.3.0 |
| apache | apache-airflow-providers-smtp | < 1.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Patch Third Party Advisory
- github.com Patch
- github.com Patch
- github.com Patch
- lists.apache.org Mailing List Patch Vendor Advisory