CVE-2023-43651
CRITICAL 9.9CVSS 3.1Jumpserver Koko vulnerable to remote code execution on the host system via MongoDB shell
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.
- Published
- 27 Sep 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-4r5x-x283-wm96
- Sources
- NVDJSONOSV GHSA-4r5x-x283-wm96JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fit2cloud | jumpservercpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.28.20 | 2.28.20 |
| NVD | fit2cloud | jumpservercpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.7.1 | 3.7.1 |
| OSV | Go | github.com/jumpserver/koko | >= 2.0.0, < 2.28.20 | 2.28.20 |
| OSV | Go | github.com/jumpserver/koko | >= 3.0.0, < 3.7.1 | 3.7.1 |
References
- https://github.com/jumpserver/jumpserver/security/advisories/GHSA-4r5x-x283-wm96 · Exploit, Vendor Advisory, WEB
- https://www.sonarsource.com/blog/diving-into-jumpserver-attackers-gateway-to-internal-networks-2-2
- https://nvd.nist.gov/vuln/detail/CVE-2023-43651 · ADVISORY
- https://github.com/jumpserver/koko/commit/7d80db95d17c8f42bdf50260dfc21dc2bd0452c2 · WEB
- https://github.com/jumpserver/koko/commit/857f8b9e41f0930dc6190a35d8601fffa5e884e7 · WEB
- https://github.com/jumpserver/koko · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 27 Sep 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Oct 2023)