CVE-2025-1692: MongoDB Shell may be susceptible to control character injection via pasting
Vulnerability summary
CVE-2025-1692 is a high (CVSS 8.8) vulnerability in mongodb, inc. mongosh. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 21.4% of scored vulnerabilities.
Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 27-02-2025Last modifiedVulnerability information updated.
Description
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
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA6.3MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · NpmEcosystem advisory · calculated6.3MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.28%
Chance of exploitation in the next 30 days
Percentile
21%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.28% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Mongodb1 product
- mongosh< 2.3.9
Mongodb, inc.1 product
- mongosh< 2.3.9
Npm1 product
- mongosh< 2.3.9
3 vendors · 3 products