Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with default USER workspace role
-
DeliveryStore JavaScript in validator via tool create/edit API
-
ExploitVictim opens tool's Init Param/Debug form
-
ExecutionStored string passed to eval() executes
-
ImpactScript reads bearer token, enabling account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an existing authenticated session holding at least the default, non-administrative USER workspace role; no elevated/admin privilege is needed to inject. The attacker sets props_info.rules[].validator to raw JavaScript on a custom tool's Init Param definition via POST /admin/api/workspace/{workspace_id}/tool or PUT .../tool/{tool_id}; the string is stored unrestricted and evaluated by eval() the moment the Init Param form is rendered - confirmed through the tool's own Debug action, with no Run click or value entry needed. Limiting factors: exploitation requires a valid login (whether unauthenticated public self-registration exists was not verified); meaningful cross-user impact requires a DIFFERENT user (e.g., a workspace member or administrator with edit permission on a workspace-scoped shared tool) to open the tool's Init Param form (UI:R), a step confirmed only for the creating account against its own tool. Token theft/account takeover is plausible because the app uses bearer tokens in browser storage but was not demonstrated beyond alert(). |
| Impact | Moderate real-world priority, not a top-tier emergency. The CVSS 3.1 base score is 7.3 (High), but the vector itself tempers that: AV:N makes it remotely reachable, yet PR:L means the attacker must already hold a valid authenticated account (default USER workspace role), and UI:R means a victim must render the malicious Init Param form for any cross-user impact. No EPSS score and no KEV status were provided in the input, so exploitation-probability and active-exploitation signals are simply absent rather than negative - this is NOT confirmed actively exploited. A public PoC reference exists in the GHSA advisory and the reporter demonstrated it firing alert(document.domain); it is a step-by-step proof, not packaged weaponized exploit code. The single most important caveat, stated explicitly in the source: only SELF-execution (the creating account opening its own tool's Debug screen) was confirmed; cross-user execution and bearer-token exfiltration enabling account takeover are described as plausible but were NOT independently verified. The vuln.today decision label is 'this_week', consistent with a patch-this-cycle item rather than drop-everything. Net: a genuine CWE-95 eval injection worth remediating promptly, but its practical severity hinges on the unverified cross-user vector - if confirmed self-XSS only, security value is low; if the shared-tool path lands JS in an administrator's session, it escalates to account takeover. |
| Exploit ScenarioDerived | An authenticated low-privilege MaxKB user (default USER workspace role) creates or edits a custom tool via POST/PUT to the workspace tool API, placing raw JavaScript such as alert(document.domain) in a props_info.rules[].validator string, which is stored verbatim. When the Init Param form for that tool is rendered - confirmed on the tool's own Debug screen - the stored string is passed to eval() and executes immediately in the MaxKB origin, before any value is entered. A documented PoC in the GHSA advisory confirms execution; low attack complexity (AC:L) but required form rendering (UI:R) means cross-user account takeover depends on another user opening the shared tool's form, which was not independently verified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
MaxKB releases prior to 2.10.7-lts evaluate attacker-supplied JavaScript stored in a custom tool's Init Param definition: the props_info.rules[].validator string is accepted without restriction via POST /admin/api/workspace/{workspace_id}/tool and PUT .../tool/{tool_id}, and is passed to eval() the moment the Init Param form renders. An authenticated user holding only the default, non-administrative USER workspace role can plant the payload, and the advisory confirms an alert() firing on the creating account's own Debug screen before any value is entered or submitted - no elevated privilege and no user click beyond opening the form. A public PoC reference exists in the vendor advisory (an alert() demonstration, not verified working exploit code beyond script execution); bearer-token theft and cross-user account takeover are described as plausible but were not demonstrated, and no CISA KEV listing or active-exploitation confirmation is present, so this is a moderate, patch-this-cycle issue rather than a top-tier emergency.
RemediationAI
Upgrade MaxKB to v2.10.7-lts, the version named by the vendor as the fix, which adds validate_init_field_list (PR https://github.com/1Panel-dev/MaxKB/pull/7257, commit https://github.com/1Panel-dev/MaxKB/commit/fad2427ab46558c5fad764993a08e3661ab4b7f9) so init_field_list is validated with a key whitelist and caller-supplied validator strings are dropped on the application, knowledge-workflow and tool serializer paths. See the advisory at https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-c4xr-7rr6-43mr and the release notes at https://github.com/1Panel-dev/MaxKB/releases/tag/v2.10.7-lts. No vendor-stated workaround is documented; the advisory frames the release as the fix. As a compensating measure only, since injection was confirmed with the default non-administrative USER workspace role, restrict custom Tool creation and editing to trusted accounts until the upgrade is applied - this narrows who can plant a payload but does not remove the vulnerable eval() rendering path, so any account that still opens a poisoned Init Param form remains exposed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-95 eval injection in MaxKB's declarative custom Tool feature. Each Init Param field carries a props_info.rules[] array of client-side validation rules; the 'validator' key of a rule is stored verbatim by the Django REST Framework serializers backing the tool create/edit endpoints and is later treated by the Vue frontend as live JavaScript, evaluated with eval() during form rendering - so no HTML-escaping bypass or tag crafting is needed, unlike classic stored XSS. The attacker-controlled string therefore executes in the MaxKB origin with the privileges of whoever renders the form. Because MaxKB authenticates API calls with a bearer token kept in browser storage rather than a cookie, script running in that origin would be expected to read and exfiltrate the token, although the report demonstrates only alert(document.domain). The fix (PR #7257, commit fad2427) introduces apps/tools/serializers/init_field.py with validate_init_field_list, whitelisting input types, rule keys (required, type, min, max, len, enum, pattern, whitespace, message, trigger) and attribute keys, rejecting request scripts (relation_trigger_field_dict) and stripping any caller-supplied 'validator' except a byte-for-byte legacy JSON validator string; it is wired into application, knowledge workflow and tool serializers.
Know when Maxkb gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Authenticated USER role injects (PR:L) over the web API (AV:N/AC:L); a victim must render the Init Param form (UI:R); arbitrary JS in the MaxKB origin yields high C/I, no availability loss.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code (Eval Injection).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-129998 is a high-severity vulnerability in MaxKB versions prior to 2.10.7-lts that allows authenticated users with basic workspace access to inject and execute JavaScript through a custom tool's configuration interface. This could lead to session token theft and potential account takeover, affecting all MaxKB deployments and posing a risk to data confidentiality and system integrity.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting access to the administrative API, disabling the custom tool functionality, and deploying a web application firewall to filter malicious input.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
MaxKB prior to version 1.10.8-lts contains an incomplete sandbox implementation that only blacklists binary execution in
Command injection in MaxKB before 2.10.5-lts allows unauthenticated remote attackers to execute arbitrary shell commands
Sandbox escape and privilege escalation in MaxKB 2.3.1 and earlier allow an attacker who can submit or trigger custom Py
Server-side request forgery in MaxKB before 2.10.0 allows any authenticated user holding the default workspace USER role
Authenticated workspace members on MaxKB deployments prior to 2.10.5-lts can escalate to root-level command execution by
OS command injection in MaxKB (1Panel-dev's open-source enterprise AI assistant) before 2.10.0-lts lets an authenticated
Server-side request forgery in MaxKB (open-source AI assistant from 1Panel-dev) allows an authenticated user with permis
Privilege escalation in MaxKB 2.3.1 and earlier allows an authenticated, low-privileged user to overwrite the built-in d
Authentication bypass in MaxKB (1Panel-dev) versions prior to 2.9.0 allows remote unauthenticated attackers to invoke we
Cross-workspace read and modification of model parameter defaults in MaxKB 2.10.3-lts and earlier is possible for an aut
MaxKB versions 2.7.1 and below allow authenticated users with tool execution privileges to bypass the LD_PRELOAD-based s
MaxKB versions 2.7.1 and below allow authenticated attackers with workspace privileges to execute arbitrary code by expl
EUVD-2026-131795
NVD
CVE.org
EPSS
GitHub
Exploit-DB