Security mailing lists by PureSourceCode

CVE-2025-1692

HIGH 8.8CVSS 3.1

MongoDB Shell may be susceptible to control character injection via pasting

The MongoDB Shell may be susceptible to control character injection where an attacker with control of the user’s clipboard could manipulate them to paste text into mongosh that evaluates arbitrary code. Control characters in the pasted text can be used to obfuscate malicious code. This issue affects mongosh versions prior to 2.3.9

Published
27 Feb 2025
Last modified
17 Jun 2026
Assigned by
cna@mongodb.com
NVD status
Analyzed
Weakness
CWE-150
Also known as
GHSA-973h-3x6p-qg37
Sources
NVDJSONOSV GHSA-973h-3x6p-qg37JSON

Scores

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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mongodb mongosh
cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*
< 2.3.9 2.3.9
OSV npm mongosh < 2.3.9 2.3.9

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 27 Feb 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 Feb 2025)
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.