Percona Server for MongoDB 9.0.8-1 (2026-12-03)¶
Technical Preview
Percona Server for MongoDB 9.0.8-1 is available as a technical preview.
We recommend that early adopters use this release for testing purposes only and not in production environments.
We are pleased to announce Percona Server for MongoDB 9.0.8-1, the first release in the 9.0 series. Percona Server for MongoDB is a drop-in replacement for MongoDB Community Edition. The server supports MongoDB Community protocols and drivers and provides enterprise-grade features for free. These features help you meet your organization’s requirements for high availability, reliability, and data security.
This release includes the improvements and bug fixes from MongoDB 9.0.0 Community Edition through MongoDB 9.0.8 Community Edition .
Upgrade considerations¶
Before you upgrade, read the MongoDB 9.0 compatibility changes . Confirm that your drivers support 9.0. Check the following Percona-specific changes:
createBackup command removed¶
The createBackup command was deprecated in 8.3.17-5 and no longer exists in 9.0. If your scripts call createBackup, migrate those scripts to Percona Backup for MongoDB before you upgrade.
Percona Memory Engine settings¶
Before you upgrade, review the Percona Memory Engine configuration changes.
AWS IAM role users outside the commercial partition¶
This change affects MONGODB-AWS authentication in AWS GovCloud, China, and other non-commercial partitions. Assumed-role sessions authenticate as the $external user whose name matches the IAM role ARN. Commercial regions use the same authentication behavior. This change has two effects:
-
Every session of a role can use an existing role ARN user, such as
arn:aws-us-gov:iam::<account_id>:role/<role_name>. Check the privileges of these users before you upgrade. -
Users whose names contain a full STS session ARN no longer match assumed-role sessions. Those users cannot authenticate. Replace those users with role ARN users.
See Configure AWS IAM authentication for the user format.
Release highlights¶
Percona Memory Engine configuration¶
Percona Memory Engine inherits storage.wiredTiger settings, including collection block compression, the Zstandard compression level, and index prefix compression. Memory size, the statistics logging interval, and custom configuration strings always come from storage.inMemory. If you omit one of those settings, Percona Memory Engine uses its own default rather than the WiredTiger value. The engine ignores journaling, checkpoint, and live restore settings, which do not apply to in-memory storage.
For the full list of inherited, replaced, and ignored settings, see How WiredTiger settings apply.
Upstream improvements¶
MongoDB 9.0 includes the following improvements. For the complete list, see Release Notes for MongoDB 9.0 .
Resource management¶
A single query operation has a memory limit. The default limit is one GB or 20% of the memory available to the server process, whichever is greater. Queries that exceed the limit fail with an ExceededMemoryLimit error. You can adjust the limit with internalQueryMaxMemoryUsageBytesPerOperation. The existing 100 MB per-stage limit and spill-to-disk behavior remain unchanged. See Aggregation pipeline limits .
The server also limits how many multi-document transactions external clients can keep open at once. The default limit is 10,000. You can change the limit with maxConcurrentMultiDocumentTransactions. When the server reaches the limit, additional transactions fail with a TooManyOpenTransactions error.
Query controls and diagnostics¶
You can pass querySettings directly to a find, distinct, or aggregate command. These settings apply to that execution only. The cluster does not store these settings. For the same query shape, cluster query settings override command-level settings that specify the same field. With feature compatibility version (FCV) 9.0, you can also set maxTimeMS for a query shape with setQuerySettings. See Query settings .
Additional diagnostic details include:
-
serverStatusreports query memory usage and change stream cursor activity. -
Query statistics cover
insert,update, anddeletecommands. -
During logical initial sync,
replSetGetStatusshows the active phase, transfer rate, and attempt history.
Server-side JavaScript¶
$accumulator, $function, and $where are no longer deprecated. These operators run on a WebAssembly-based JavaScript engine with stronger isolation.
The JavaScript engine evaluates local Date operations in UTC, regardless of the host time zone. Code that calls methods such as getHours() can return different results after the upgrade. Review the JavaScript compatibility changes before you upgrade.
Time series collections and document validation¶
MongoDB stores time series collections as a single namespace. You can rename time series collections with renameCollection. If a database holds more than 5,000 time series collections, expect a longer upgrade. Such databases can also experience write latency spikes during the upgrade.
The constraint validation level applies your validation rules to every insert and update. This validation level guarantees that every document in the collection satisfies those rules. The guarantee covers existing documents too. See Validation levels .
Key upstream fixes¶
-
SERVER-134533: Fixed an issue that caused metadata inconsistencies when shard draining started during
movePrimary. -
SERVER-133518: Fixed an issue where a hang during step-up blocked a shard from becoming primary after an interrupted chunk operation.
-
SERVER-127745: Fixed an issue that caused a resharding deadlock after a quick step-down and step-up of the primary.
-
SERVER-114507: Fixed an issue where
$outrecreated an unsharded output collection on the primary shard instead of its existing shard. The output collection now remains on its existing shard. -
SERVER-134723: Fixed an issue where a newly elected primary crashed when it couldn’t find a sync source for catch-up.
-
SERVER-135249: Fixed an issue where change stream metric errors blocked
serverStatus.
For the complete list, see the MongoDB 9.0 changelog .
Security fixes from upstream MongoDB¶
MongoDB 9.0.8 includes every security fix from the earlier 9.0 patch releases. The following fixes apply to Percona Server for MongoDB. Severity levels follow MongoDB’s CVSS 4.0 ratings.
Critical severity¶
- SERVER-138119, SERVER-138175 (CVE-2026-118383): Fixed an issue that caused a memory error during primary catch-up in replica sets. An unauthenticated attacker could exploit the error to crash replica set members. The error could also enable arbitrary code execution. The error does not affect standalone servers.
High severity¶
-
SERVER-130431 (CVE-2026-96299): Fixed an issue where an internal aggregation stage lacked an authorization check. An authenticated user with read and write privileges could crash
mongos. -
SERVER-131412 (CVE-2026-104004): Fixed an issue where collection validators could crash the server when an authenticated user inserted a document.
-
SERVER-131411 (CVE-2026-104005): Fixed an issue with authorization for bulk writes routed through
mongos. An authenticated user with write access to a regular collection could target internal system namespaces. The router accepted those bulk writes without the required namespace authorization. -
SERVER-135180 (CVE-2026-120803): Fixed an issue that caused a memory error in the
$locfwindow operator. An authenticated user with read and write privileges could exploit the error to expose server memory. The error could also crashmongod. -
SERVER-130261 (CVE-2026-120806): Fixed an issue where role removal left stale role references. Stale role references could grant unintended privileges once a role with the same name was recreated.
-
SERVER-130169 (CVE-2026-120807): Fixed an issue where an X.509 cluster membership check could grant internal privileges. Exploitation requires a valid cluster member certificate, specific user lookup conditions, and a non-default cluster authentication configuration.
-
SERVER-132430 (CVE-2026-120810): Fixed an issue where an aggregation expression lacked a memory limit. An authenticated user with read privileges could use the expression to exhaust server memory.
-
SERVER-132517 (CVE-2026-120813): Fixed an issue with client-side field level encryption (CSFLE) schema parsing. A crafted schema with duplicate keys could cause CSFLE clients to discard encryption metadata. The clients could then store sensitive fields in plaintext.
-
SERVER-133600 (CVE-2026-120814): Fixed an issue with privilege checks in sharding operations. A user with shard administration privileges could create a persistent cluster-wide root user.
-
SERVER-134872 (CVE-2026-120815): Fixed an issue where the localhost exception could stay active after an
$externaluser was created. An unauthenticated local connection could gain administrative access. -
SERVER-135655 (CVE-2026-120817): Fixed an issue that caused a race condition in geospatial schema validation. Concurrent writes from authenticated users could crash the server.
-
SERVER-136285 (CVE-2026-120821): Fixed an issue that caused a memory error in aggregation sub-pipelines. An authenticated user with read privileges could exploit the error to crash the server.
-
SERVER-136182 (CVE-2026-120822): Fixed an issue where
applyOpslacked an authorization check. Users with backup and restore privileges could read collections outside their permitted scope. Those users could also relocate collections without the required authorization. -
SERVER-136505 (CVE-2026-120824): Fixed an issue that caused a memory error in time series bucket validation. A user with direct write access to buckets could crash the server. The error could also enable arbitrary code execution.
-
SERVER-136876, SERVER-136878 (CVE-2026-120825): Fixed an issue with privilege checks for nested pipelines in view definitions. Users without read access could see restricted collections. This access includes stored authentication data.
-
SERVER-137361 (CVE-2026-120826): Fixed an issue with view authorization in sharded clusters. Users with read and write privileges on one database could read another database on the same shard.
-
SERVER-138119 (CVE-2026-120828): Fixed an issue that caused unbounded memory growth when clients requested a read timestamp a replica set member never reached. Unauthenticated requests could exhaust memory.
Medium severity¶
-
SERVER-132946 (CVE-2026-96297): Fixed an issue that caused a memory error in aggregation when the batch size was
0. The error could return unrelated server memory in query results. The error could also crash the server. -
SERVER-134618 (CVE-2026-103965): Fixed an issue where aggregation rewrites could treat constant values as field references. Those rewrites could expose field values outside the intended output.
-
SERVER-134893 (CVE-2026-120819): Fixed an issue that caused a memory error in server-side JavaScript. Users with read privileges could read up to 24 KiB of process memory through
$accumulator. -
SERVER-132279 (CVE-2026-120809): Fixed an issue that caused a memory error in time series aggregation. With a non-default query engine setting, an authenticated user could read server memory. The error could also crash the server under those conditions.
-
SERVER-135353 (CVE-2026-120811): Fixed an issue that caused a memory error in the query plan cache. Diagnostic output could expose server memory to an authenticated user. The error could also crash the server.
-
SERVER-131961 (CVE-2026-120812): Fixed an issue with time series queries. An authenticated user with read privileges could crash the server.
-
SERVER-135737 (CVE-2026-120820): Fixed an issue that caused unbounded memory use in encrypted field statistics. A user with basic read access could cause the server to retain memory. This memory retention could reduce server performance.
For more details, see the MongoDB 9.0 changelog and MongoDB security bulletins .
Known issues¶
These upstream issues are still open in MongoDB 9.0.8:
-
SERVER-136226: Each node opens at least
ShardingTaskExecutorPoolMinSizeconnections to every config server. These connections can exhaust config server connections. If you use dedicated config servers, check whetherShardingTaskExecutorPoolMinSizeexceeds1before you upgrade. If so, setShardingTaskExecutorPoolMinSizeForConfigServersto1. -
SERVER-89953: At FCV 9.0,
listIndexesshows the simple collation explicitly. Some object-document mappers (ODMs) read that as a change and drop and rebuild indexes that haven’t changed. Don’t sync indexes automatically when your application starts. Instead, review the index differences and apply them as a separate deployment step. If you use Mongoose , upgrade to 9.10.4 or 8.24.5. -
SERVER-136961: After an unclean shutdown, a node configured for file copy based initial sync can crash on restart. To recover, restart the node with
initialSyncMethodset tological.
Check MongoDB 9.0 known issues for updates.
Changelog¶
Features¶
- PSMDB-2003: Caches LDAP user-to-DN mappings to reduce LDAP lookups during authentication. You can tune the cache with
ldapUserToDNCacheTTLSecondsandldapUserToDNCacheSize.
Improvements¶
-
PSMDB-1832: Percona Memory Engine inherits
storage.wiredTigersettings, except those thatstorage.inMemoryoptions replace. See Percona Memory Engine. -
PSMDB-2038: Adds LDAP user-to-DN cache metrics to
serverStatusunderldap.userToDNCache. -
PSMDB-2150, PSMDB-2257: Binary packages, Docker images, and tarballs include a software bill of materials (SBOM).
Removed features¶
- PSMDB-2291: Removes the
createBackupcommand. Use Percona Backup for MongoDB instead.
Fixed bugs¶
-
PSMDB-1766: Fixed an issue with LDAP user cache invalidation. The server didn’t clear cached
$externalusers at theldapUserCacheInvalidationInterval, so role changes in LDAP weren’t picked up. See LDAP cache refresh parameters. -
PSMDB-2279: Fixed an issue with MONGODB-AWS authentication for assumed roles in AWS GovCloud, China, and other non-commercial partitions. The server now keeps the ARN’s partition when it maps an assumed-role session to its IAM role.
Tools packaged with this release¶
Percona Server for MongoDB packages the following tools:
| Tool | Base version | Release notes |
|---|---|---|
MongoDB Shell (mongosh) |
2.14.2 | Upstream release notes |
| MongoDB Database Tools | 100.20.1 | Upstream release notes |