{"id":"PYSEC-2026-278","summary":"Improper Certificate Validation in apache airflow mongo hook","details":"When ssl was enabled for Mongo Hook, default settings included \"allow_insecure\" which caused that certificates were not validated. This was unexpected and undocumented.\n Users are recommended to upgrade to version 4.0.0, which fixes this issue.","aliases":["CVE-2024-25141","GHSA-x5pm-h33q-cjrw"],"modified":"2026-07-01T20:22:48.520271Z","published":"2026-06-29T11:50:40.389103Z","references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25141"},{"type":"WEB","url":"https://github.com/apache/airflow/pull/37214"},{"type":"PACKAGE","url":"https://github.com/apache/airflow"},{"type":"WEB","url":"https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/02/20/5"},{"type":"PACKAGE","url":"https://pypi.org/project/apache-airflow-providers-mongo"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-x5pm-h33q-cjrw"}],"affected":[{"package":{"name":"apache-airflow-providers-mongo","ecosystem":"PyPI","purl":"pkg:pypi/apache-airflow-providers-mongo"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0"}]}],"versions":["1.0.0","1.0.0b1","1.0.0b2","1.0.0rc1","1.0.1","1.0.1rc1","2.0.0","2.0.0rc1","2.0.0rc2","2.1.0","2.1.0rc1","2.2.0","2.2.0rc1","2.3.0","2.3.0rc1","2.3.1","2.3.1rc1","2.3.2","2.3.2rc1","2.3.3","2.3.3rc1","3.0.0","3.0.0rc1","3.0.0rc2","3.1.0","3.1.0rc1","3.1.1","3.1.1rc1","3.2.0","3.2.0rc1","3.2.0rc2","3.2.1","3.2.1rc1","3.2.2","3.2.2rc1","3.3.0","3.3.0rc1","3.4.0","3.4.0rc1","3.5.0","3.5.0rc1","3.6.0","3.6.0rc1","3.6.0rc2","4.0.0rc1"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/apache-airflow-providers-mongo/PYSEC-2026-278.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}