Home / MongoDB Inc / mongocryptd / CVE-2024-8013
CVE-2024-8013: is it exploited, and which versions of MongoDB Inc mongocryptd are affected and fixed?
CVE-2024-8013 is a sensitive data sent in clear text vulnerability in MongoDB Inc mongocryptd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: mongocryptd from 5.0 before 5.0.29, mongocryptd from 6.0 before 6.0.17, mongocryptd from 7.0 before 7.012 and 4 more (CVE record by mongodb). Fixed in 5.0.29, 6.0.17, 7.012, 7.3.4 and 1 more (CVE record by mongodb). Severity: Low (2.2, CVSS 3.1, from mongodb).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:25 UTC.
What is CVE-2024-8013?
CSFLE and Queryable Encryption self-lookup may fail to encrypt values in subpipelines
A bug in query analysis of certain complex self-referential $lookup subpipelines may result in literal values in expressions for encrypted fields to be sent to the server as plaintext instead of ciphertext. Should this occur, no documents would be returned or written. This issue affects mongocryptd binary (v5.0 versions prior to 5.0.29, v6.0 versions prior to 6.0.17, v7.0 versions prior to 7.0.12 and v7.3 versions prior to 7.3.4) and mongo_crypt_v1.so shared libraries (v6.0 versions prior to 6.0.17, v7.0 versions prior to 7.0.12 and v7.3 versions prior to 7.3.4) released alongside MongoDB Enterprise Server versions.
From the CVE record by mongodb, last updated October 28, 2024, 13:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MongoDB Inc | mongocryptd | from 5.0 before 5.0.29 from 6.0 before 6.0.17 from 7.0 before 7.012 from 7.3 before 7.3.4 | 5.0.29, 6.0.17, 7.012, 7.3.4 |
| MongoDB Inc | Mongo_crypt_v1.so | from 6.0 before 6.0.17 from 7.0 before 7.0.12 from 7.3 before 7.3.4 | 6.0.17, 7.0.12, 7.3.4 |
As the CVE record by mongodb states it, last updated October 28, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| mongodb | mongo crypt v1.so | from 6.0.0 before 6.0.17 | application |
| mongodb | mongo crypt v1.so | from 7.0.0 before 7.0.12 | application |
| mongodb | mongo crypt v1.so | from 7.3.0 before 7.3.4 | application |
| mongodb | mongocryptd | from 5.0.0 before 5.0.29 | application |
| mongodb | mongocryptd | from 6.0.0 before 6.0.17 | application |
| mongodb | mongocryptd | from 7.0.0 before 7.0.12 | application |
| mongodb | mongocryptd | from 7.3.0 before 7.3.4 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:21 UTC.
How severe is CVE-2024-8013?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.2 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N | mongodb |
| Low 3.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-8013 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 28, 2024)
- EPSS
- 0.12% probability of exploitation activity in the next 30 days, percentile 2.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-319 Cleartext Transmission of Sensitive Information
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- August 20, 2024
- Published
- October 28, 2024, 12:58 UTC
- CVE record updated
- October 28, 2024, 13:39 UTC by mongodb
- NVD
- Analyzed, last modified June 17, 2026, 08:21 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:25 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2024-8013
Is CVE-2024-8013 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.12% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of MongoDB Inc mongocryptd are affected by CVE-2024-8013?
mongocryptd from 5.0 before 5.0.29, mongocryptd from 6.0 before 6.0.17, mongocryptd from 7.0 before 7.012, mongocryptd from 7.3 before 7.3.4, Mongo_crypt_v1.so from 6.0 before 6.0.17, Mongo_crypt_v1.so from 7.0 before 7.0.12 and 1 more, per the CVE record by mongodb. The tables above give every range the sources list.
Which version fixes CVE-2024-8013?
5.0.29, 6.0.17, 7.012, 7.3.4 and 7.0.12, per the CVE record by mongodb. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-8013?
Low (2.2, CVSS 3.1, from mongodb). The severity table above shows each score with its source.
Where is the official record of CVE-2024-8013?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.