Security mailing lists by PureSourceCode

CVE-2024-6376

CRITICAL 9.8CVSS 3.1

ejson shell parser in MongoDB Compass maybe bypassed

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling. This issue affects MongoDB Compass versions prior to version 1.42.2

Published
1 Jul 2024
Last modified
17 Jun 2026
Assigned by
cna@mongodb.com
NVD status
Modified
Weakness
CWE-20CWE-94
Also known as
GHSA-jxr4-4prv-mh83
Sources
NVDJSONOSV GHSA-jxr4-4prv-mh83JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD cna@mongodb.com (Secondary) CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb compass
cpe:2.3:a:mongodb:compass:*:*:*:*:*:*:*:*
< 1.42.2 1.42.2
OSV npm @mongodb-js/connection-form < 1.20.1 1.20.1

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 1 Jul 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.