# CVE-2024-25141: Apache Airflow Mongo Provider: Certificate validation isn't respected even if SSL is enabled for apache-airflow-providers-mongo

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-02-20T20:30:28.924Z
- Modified: 2026-10-26T21:30:05.353Z
- Also known as: GHSA-x5pm-h33q-cjrw, PYSEC-2026-278
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

## Description

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.

(As written by CVE List.)

## Affected

- apache-airflow-providers-mongo: from 1.0.0 before 4.0.0
- apache airflow_mongo_provider: 0
- apache-airflow-providers-mongo (PyPI): before 4.0.0
- apache apache-airflow-providers-mongo: from 1.0.0 before 4.0.0

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/apache/airflow/pull/37214> (issue-tracking, patch, web)
- <https://lists.apache.org/thread/sqgbfqngjmn45ommmrgj7hvs7fgspsgm> (mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2024/02/20/5> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-25141> (advisory)
- <https://github.com/apache/airflow> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/apache-airflow-providers-mongo/PYSEC-2026-278.yaml> (web)
- <https://pypi.org/project/apache-airflow-providers-mongo> (package, web)
- <https://github.com/advisories/GHSA-x5pm-h33q-cjrw> (advisory)

## Sources

- CVE List: [CVE-2024-25141](https://www.cve.org/CVERecord?id=CVE-2024-25141), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-x5pm-h33q-cjrw](https://github.com/advisories/GHSA-x5pm-h33q-cjrw), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2024-25141](https://nvd.nist.gov/vuln/detail/CVE-2024-25141), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-278](https://osv.dev/vulnerability/PYSEC-2026-278), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-25141 · Whole record: https://cve.day/CVE-2024-25141.json · Rebuilt by cve.day 2026-11-25T22:58:36.941Z
