MongoDB Server: Improper Check for Certificate Revocation
CVE-2025-3085 is a critical-severity improper check for certificate revocation vulnerability in MongoDB Server from MongoDB, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 5.0.31, 6.0.20, 7.0.16 as the first without the flaw, so updating MongoDB Server to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.29% chance of exploitation within 30 days, which is low compared with other CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update MongoDB Server to 5.0.31 or 6.0.20 or 7.0.16 or 8.0.4, whichever matches your release line, or a later version.
- Update Mongodb to 5.0.31 or 6.0.20 or 7.0.16 or 8.0.4, whichever matches your release line, or a later version.
- Read the advisory on jira.mongodb.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| MongoDB | MongoDB Server | 5.0 up to, but not including, 5.0.31; 6.0 up to, but not including, 6.0.20; 7.0 up to, but not including, 7.0.16; 8.0. up to, but not including, 8.0.4 | 5.0.31, 6.0.20, 7.0.16, 8.0.4 |
| MongoDB | Mongodb | 5.0.0 up to, but not including, 5.0.31; 6.0.0 up to, but not including, 6.0.20; 7.0.0 up to, but not including, 7.0.16; 8.0.0 up to, but not including, 8.0.4 | 5.0.31, 6.0.20, 7.0.16, 8.0.4 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.1 | High | CNA (mongodb.com) |
| CVSS 3.1 | 9.8 | Critical | NVD |
Official description
A MongoDB server under specific conditions running on Linux with TLS and CRL revocation status checking enabled, fails to check the revocation status of the intermediate certificates in the peer's certificate chain. In cases of MONGODB-X509, which is not enabled by default, this may lead to improper authentication. This issue may also affect intra-cluster authentication. This issue affects MongoDB Server v5.0 versions prior to 5.0.31, MongoDB Server v6.0 versions prior to 6.0.20, MongoDB Server v7.0 versions prior to 7.0.16 and MongoDB Server v8.0 versions prior to 8.0.4. Required Configuration : MongoDB Server must be running on Linux Operating Systems and CRL revocation status checking must be enabled
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Check for Certificate Revocation
The product does not check or incorrectly checks the revocation status of a certificate.
How developers prevent this class of flaw
- Ensure that certificates are checked for revoked status.
- If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the revoked status.
More Improper Check for Certificate Revocation vulnerabilities (CWE-299)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Other vulnerabilities in MongoDB Server
- 7.5 High severity
- 8.8 High severity
- 7.1 High severity
- 10.0 Critical severity
- 8.4 High severity
- 7.2 High severity
Spotted an error? Tell us.