CVE-2025-1692 MEDIUM

CVE-2025-1692: MongoDB Shell may be susceptible to control character injection via pasting

Vendor Mongodb Inc
Product mongosh
Weakness CWE-150
Published February 27, 2025
Last update February 27, 2025

CVSS base score

6.3/10
Attack vector Local
Attack complexity High
Privileges required High
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

February 27, 2025 CVE published
February 27, 2025 Record updated