MongoDB 4.x — End of Life
EOLMongoDB 4.x — All releases
| Version | Released | Active support | EOL date | Latest patch | Status |
|---|---|---|---|---|---|
| 4.4 | Jul 31, 2020 | — | Feb 29, 2024 | 4.4.30 | EOL |
| 4.2 | Aug 31, 2019 | — | Apr 30, 2023 | 4.2.25 | EOL |
| 4.0 | Jun 30, 2018 | — | Apr 30, 2022 | 4.0.28 | EOL |
CVEs affecting MongoDB 4.x (0)
MongoDB 4.x is EOL — migrate to MongoDB 5.x
MongoDB 5.x is the next major release. Plan your upgrade before MongoDB 4.x stops receiving security patches.
Frequently asked questions
Is MongoDB 4 end of life?
Yes. All MongoDB 4.x releases have reached end of life and no longer receive security patches. Migrate to MongoDB 5.x as soon as possible.
What CVEs affect MongoDB 4?
No CVEs are currently tracked for MongoDB 4.x in our database. This may mean no vulnerabilities have been recorded yet, or the data is still syncing.
What is the latest MongoDB 4 version?
The latest MongoDB 4.x patch release is 4.4.30, released on December 23, 2025. Always run the latest patch to benefit from all security fixes.
How to migrate from MongoDB 4 to MongoDB 5?
To migrate from MongoDB 4 to MongoDB 5: (1) review the official MongoDB 5 migration guide for breaking changes, (2) update dependencies and configuration accordingly, (3) test thoroughly in a staging environment, (4) deploy with a rollback plan. Starting early gives you time to resolve compatibility issues before your current version reaches end of life.
Is it safe to run MongoDB 4 in production?
No. MongoDB 4 has reached end of life and security vulnerabilities are no longer patched. Upgrade to a supported version immediately.
Data sourced from endoflife.date · CVE data from NVD · EPSS from FIRST.org · KEV from CISA
