# CVE-2026-39417: MaxKB: RCE via MCP stdio command injection in workflow engine

- Severity: Medium 4.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-04-14T00:03:16.020Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-20, CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

MaxKB is an open-source AI assistant for enterprise. Versions 2.7.1 and below contain an incomplete fix for CVE-2025-53928, where a Remote Code Execution vulnerability still exists in the MCP node of the workflow engine. MaxKB only restricts the referencing code path (loading MCP config from the database). The else branch, responsible for loading mcp_servers directly from user-supplied JSON remains completely unpatched. Since mcp_source is an optional field (required=False), an attacker can simply omit it or set it to any non-referencing value to bypass the fix. By calling the workflow creation API directly with a crafted JSON payload, an attacker can inject a complete MCP node configuration with stdio transport, arbitrary command, and args — achieving RCE when the workflow is triggered via chat. This issue has been fixed in version 2.8.0.

(As written by CVE List.)

## Affected

- 1Panel-dev MaxKB: < 2.8.0
- maxkb maxkb: before 2.8.0

## Every score

- GitHub_M: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-pw52-326g-r5xj> (vendor-advisory)
- <https://github.com/1Panel-dev/MaxKB/commit/50e96002ee5dca34c68d3d9333b64ea358c92304> (patch)
- <https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0> (release-notes)

## Sources

- CVE List: [CVE-2026-39417](https://www.cve.org/CVERecord?id=CVE-2026-39417), CVE Terms of Use, modified 2026-04-14
- NVD: [CVE-2026-39417](https://nvd.nist.gov/vuln/detail/CVE-2026-39417), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-39417 · Whole record: https://cve.day/CVE-2026-39417.json · Rebuilt by cve.day 2026-11-25T22:59:18.660Z
