# CVE-2026-129998: MaxKB: Eval Injection via Custom Tool "Init Param" Validator Rule Allows Arbitrary JavaScript Execution

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- 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.74%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-20T19:48:22.206Z
- Modified: 2026-11-23T20:17:59.350Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

MaxKB is an open-source AI assistant for enterprise. Prior to 2.10.7-lts, custom Tool Init Param definitions accept attacker-controlled props_info.rules[].validator strings through POST /admin/api/workspace/{workspace_id}/tool and PUT /admin/api/workspace/{workspace_id}/tool/{tool_id}, store them without restriction, and pass them to eval() when the parameter form renders. An authenticated user with the default USER workspace role can store JavaScript and trigger execution by opening the tool's Debug screen before entering or submitting a parameter value. The same Init Param form is exposed to accounts with edit permission on the tool, but execution by a different account was not independently verified. The confirmed script runs in the MaxKB origin; access to another user's bearer token and authenticated account authority is plausible only if that user renders the malicious form. This issue is fixed in version 2.10.7-lts.

(As written by CVE List.)

## Affected

- 1Panel-dev MaxKB: < 2.10.7-lts

## References

- <https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-c4xr-7rr6-43mr> (exploit)
- <https://github.com/1Panel-dev/MaxKB/pull/7257>
- <https://github.com/1Panel-dev/MaxKB/commit/fad2427ab46558c5fad764993a08e3661ab4b7f9>
- <https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.7-lts>

## Sources

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

---

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