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

Published Updated

Any authenticated MaxKB user can store JavaScript in custom tool init parameters that runs in the MaxKB origin, potentially hijacking other users' sessions.

CVSS score

High

7.3/10

CVSS 3.1 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
2.10.7
Attack path
Over the internet
Any signed-in user, a user must click or open something

What is CVE-2026-129998?

CVE-2026-129998 is a high-severity code injection vulnerability in 1Panel-dev MaxKB, published on 20 Nov 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-95

How severe is CVE-2026-129998?

CVE-2026-129998 scores 7.3 out of 10 under CVSS 3.1, which is high severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Which versions are affected by CVE-2026-129998?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-129998?

Upgrade 1Panel-dev MaxKB to 2.10.7 or later. The advisory says that version fixes it.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-129998 being exploited?

There is no known exploitation of CVE-2026-129998 in the wild and no public exploit code.

Sources

Also known as GHSA-c4xr-7rr6-43mr.

Is CVE-2026-129998 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free