Back to all use cases
MongoDBLogistics

Every version, one at a time

A logistics platform runs a self-managed sharded MongoDB cluster on 5.0, which ended on 31 October 2024, with some replica sets on 6.0, which ended on 31 July 2025. MongoDB upgrades go one major version at a time, so the road to 7.0 and 8.0 has several steps.

Challenge

MongoDB's support policy has no obligation to patch versions past end of life. It has shipped some releases anyway, most recently 5.0.35 and 6.0.30 in October 2026, but nothing promises the next one. The known-exploited flaw CVE-2025-14847 was fixed in 5.0.32 and 6.0.27. A fix like that arrived because MongoDB chose to ship it, and an auditor cannot plan around a choice.

The path forward has no shortcuts. MongoDB requires each major version in turn: 5.0 to 6.0, then 7.0, then 8.0, raising featureCompatibilityVersion after each step, and every step is a rolling upgrade of every replica set and shard. Newer server versions drop old wire protocol versions, and MongoDB states that drivers released more than three years after a server version's end of life are not compatible with it, so applications on old drivers must move first.

The landing dates matter. 7.0 is supported until 31 August 2027, 8.0 until 31 October 2029 and 9.0, released in September 2026, until 31 October 2031. A stop at 7.0 buys under a year.

Environment

A sharded cluster on 5.0 with mongos routers, plus separate replica sets on 6.0, on x86_64 hosts with AVX. Several services use different driver versions, and the application teams ship on their own schedules.

Options

Upgrade through every major version to 8.0 or 9.0. This is the destination. Each hop is a rolling upgrade with FCV steps, and the time depends on the number of replica sets and shards, the drivers and the test coverage.

Buy MongoDB's extended support add-on. Up to two years of support for one minor version after end of life, as an add-on to Enterprise Advanced, for estates already on that subscription.

Rely on discretionary releases. Take whatever MongoDB ships for 5.0 and 6.0. Not evidence an auditor accepts, because nothing commits to the next release.

Keep 5.0 and 6.0 patched with committed fixes while the upgrades run. The line holds under a contract while each step is done.

Approach

OSSeva Patch ships signed builds of self-managed MongoDB Community Server 5.0 and 6.0 with committed security fixes, covering mongod, mongos and the bundled tools. Critical CVEs (CVSS 9.0 or higher) are patched within 48 hours and High within 7 days.

OSSeva Assure maps the route before anything moves: a featureCompatibilityVersion upgrade plan for each replica set and shard, a driver compatibility audit that finds the services pinned to old drivers, and a review of authentication, TLS and network exposure.

OSSeva Operate then executes the major version upgrades, one step at a time, with 24/7 replica set and cluster monitoring, a named MongoDB engineer and a 15-minute P1 response. The cluster runs on a patched 5.0 or 6.0 between steps, and a clean 8.0 or 9.0 at the end.

What this delivers

A sharded cluster that stays covered by a commitment while it climbs from 5.0 and 6.0 to a version with years of runway, with each featureCompatibilityVersion step planned, executed and checked against the drivers. OSSeva MongoDB support is priced per replica set or cluster. Book a discovery call for a quote.

Go deeper

Questions

Frequently asked questions

Book a 15-minute call

Can MongoDB 5.0 upgrade straight to 7.0?

No. MongoDB upgrades one major version at a time: 5.0 to 6.0, then 7.0, then 8.0. featureCompatibilityVersion is raised after each step.

Does OSSeva patch MongoDB 5.0 and 6.0?

Yes. Patched builds of self-managed Community Server 5.0 and 6.0 come with committed fixes, on the Patch, Assure and Operate tiers. Atlas is not covered, because MongoDB patches it.

Which MongoDB version should the cluster land on?

8.0 or 9.0. 7.0 is supported until 31 August 2027, 8.0 until 31 October 2029 and 9.0 until 31 October 2031.

What breaks if the drivers are old?

Newer servers drop support for old wire protocol versions, so applications on old drivers fail to connect. Drivers have to be updated before the cluster can move.

See every EOL & CVE-patching use case

All use cases
Book a call