Advisory

PYSEC-2026-278

Also known as: CVE-2024-25141, GHSA-x5pm-h33q-cjrw

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

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

apache-airflow-providers-mongo

PyPI · All systems

Affected

  • introduced 0, fixed 4.0.0 (ecosystem)

Fixed versions

4.0.0

Fix

  • Fixed version 4.0.0
    pip install --upgrade apache-airflow-providers-mongo==4.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences