CVE-2023-43651: Remote code execution on the host system via MongoDB shell in jumpserver
Vulnerability summary
CVE-2023-43651 is a critical (CVSS 9.9) Improper Control of Generation of Code vulnerability in fit2cloud jumpserver. EPSS estimates a 2.11% chance of exploitation in the next 30 days, higher than 81.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 27-09-2023PublishedVulnerability first disclosed.
- 25-03-2025Last modifiedVulnerability information updated.
Description
JumpServer is an open source bastion host. An authenticated user can exploit a vulnerability in MongoDB sessions to execute arbitrary commands, leading to remote code execution. This vulnerability may further be leveraged to gain root privileges on the system. Through the WEB CLI interface provided by the koko component, a user logs into the authorized mongoDB database and exploits the MongoDB session to execute arbitrary commands. This vulnerability has been addressed in versions 2.28.20 and 3.7.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA8.6HighCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:HDiffers
- OSV · GoEcosystem advisory · calculated6.4MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:HDiffers
EPSS trend
Probability
2.11%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.11% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundJumpserver
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Fit2cloud1 product
- jumpserver≥ 2.0.0, < 2.28.20 | ≥ 3.0.0, < 3.7.1
Github.com/jumpserver1 product
- koko≥ 2.0.0, < 2.28.20 | ≥ 3.0.0, < 3.7.1
Jumpserver1 product
- jumpserver≥ 2.0.0, < 2.28.20 | ≥ 3.0.0, < 3.7.1
3 vendors · 3 products
References
6 links- github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96X Refsource CONFIRMWEBExploitVendor Advisory
- github.com/jumpserver/kokoPACKAGE