ADVISORIES

PyPA Advisory Database

PYSEC-2026-278

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. Users are recommended to upgrade to version 4.0.0, which fixes this issue.

Affected packages

EcosystemPackageAffected versions
PyPIapache-airflow-providers-mongo
All versions before 4.0.0 (fixed in 4.0.0)

References