6.8

CVE-2025-1693: MongoDB Shell may be susceptible to control character Injection via shell output

Analyzed
AliasesGHSA-r95j-4jvf-mrrw
Published 27-02-2025Last modified 27-02-2025

Vulnerability summary

CVE-2025-1693 is a medium (CVSS 6.8) vulnerability in mongodb, inc. mongosh. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v3.1 (NVD)
EPSS score
0.24%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 27-02-2025
    PublishedVulnerability first disclosed.
  2. 27-02-2025
    Last modifiedVulnerability information updated.

Description

The MongoDB Shell may be susceptible to control character injection where an attacker with control over the database cluster contents can inject control characters into the shell output. This may result in the display of falsified messages that appear to originate from mongosh or the underlying operating system, potentially misleading users into executing unsafe actions. The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker. This issue affects mongosh versions prior to 2.3.9

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.22% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.

Mongodb1 product
Mongodb, inc.1 product
Npm1 product
  • mongosh< 2.3.9

3 vendors · 3 products

References

3 links