MongoDB Server, Data Integrity Vulnerability, CVE-2025-14345 (Medium)

Listen to this Post

This vulnerability is a post-authentication flaw in MongoDB’s network two-phase commit protocol, which coordinates transactions across different database shards. The core issue is improper locking (CWE-667) within this protocol. Under specific, unpredictable conditions—such as during a shard failover—a race condition can occur. This error may cause the transaction coordinator to misinterpret the state of a cross-shard transaction, concluding it is fully committed when it is only partially committed on some shards. The result is a “torn transaction,” leading to logical data inconsistencies across the sharded cluster. These inconsistencies exist for a very short window but directly impact the integrity and availability of the affected data.
Platform: MongoDB Server
Version: <8.0.16, <7.0.26, <8.2.2
Vulnerability : Improper Locking Flaw
Severity: Medium
date: 2025-12-09

Prediction: 2025-12-16

What Undercode Say:

Check MongoDB server version
mongod --version | grep "db version"
Monitor for transaction errors in logs (example)
grep -i "transaction" /var/log/mongodb/mongod.log | grep -i "error|abort|inconsistent"
Simple connectivity and basic info test
mongosh --eval "db.adminCommand({getLog: 'global'})" --quiet

How Exploit:

An authenticated attacker cannot trigger this vulnerability at will. Exploitation relies on inducing specific, non-deterministic system conditions like a failover event during a cross-shard transaction. The goal is to cause the transaction coordinator to incorrectly finalize a transaction, leaving shards in an inconsistent state.

Protection from this CVE:

Upgrade MongoDB Server.

Apply latest stable version.

Monitor cluster failovers.

Impact:

Logical data inconsistencies.

Low integrity impact.

Low availability impact.

🎯Let’s Practice Exploiting & Learn Patching For Free:

Sources:

Reported By: nvd.nist.gov
Extra Source Hub:
Undercode

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow DailyCVE & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin Featured Image

Scroll to Top