7.6

CVE-2025-1691: mongodb inc mongosh Injection

CVSS: 7.6v3.1HighAnalyzed
AliasesGHSA-43g5-2wr2-q7vj
Published 27-02-2025Last modified 27-02-2025

Vulnerability summary

CVE-2025-1691 is a high (CVSS 7.6) Injection vulnerability in mongodb inc mongosh. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 27.8% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.6/10
010
High · v3.1 (CVE.org)
EPSS score
0.36%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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 of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using ‘tab’ to autocomplete text that is a prefix of the attacker’s prepared autocompletion. This issue affects mongosh versions prior to 2.3.9. The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

+0.01 pp

From 0.35% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.36%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Mongodb1 product
Mongodb inc1 product
Npm1 product
  • mongosh< 2.3.9

3 vendors · 3 products

References

3 links