Improper Certificate Validation in apache airflow mongo hook
When ssl was enabled for Mongo Hook, default settings included "allow_insecure" which caused that certificates were not validated. This was unexpected and undocumented. Users are recommended to upgrade to version 4.0.0, which fixes this issue.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | apache-airflow-providers-mongo | < 4.0.0 | 4.0.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-25141
- https://github.com/apache/airflow/pull/37214
- https://github.com/apache/airflow
- https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm
- http://www.openwall.com/lists/oss-security/2024/02/20/5
- https://pypi.org/project/apache-airflow-providers-mongo
- https://github.com/advisories/GHSA-x5pm-h33q-cjrw
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-295- Platform
- Python (PyPI)
- Package
apache-airflow-providers-mongo- Disclosed
- 20.02.2024
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-x5pm-h33q-cjrw - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-278 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: apache-airflow-providers-mongo
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.