MaxKB Webhook Authentication Bypass Vulnerability Allowing Unauthorized Trigger Invocation

Vulnerability

A vulnerability exists in MaxKB's webhook trigger endpoint, which is accessible without authentication. This issue affects MaxKB versions prior to 2.9.0. The vulnerability arises because the WebhookAuth class always returns a successful authentication response, allowing any unauthenticated attacker who knows a valid trigger ID to invoke webhook triggers and execute their associated tasks. This exploitation is possible due to the lack of mandatory token requirements for event triggers, combined with the absence of backend enforcement to validate token presence when creating triggers via the API.

Impact

Exploitation of this vulnerability allows for unauthorized invocation of webhook triggers, execution of bound tasks (including custom Python code via ToolExecutor), potential denial-of-service conditions, and unauthorized access to information through application workflows.

Reproduction

To reproduce this vulnerability, create an event trigger via the MaxKB REST API without including a token in the trigger settings. Once the trigger is active, send a POST request to the webhook trigger endpoint with the trigger ID and an arbitrary JSON payload. The request will be authenticated due to the WebhookAuth class bypass, and the associated tasks will be executed. This vulnerability can also be reproduced by invoking an existing untokened event trigger.

Remediation

Users are advised to upgrade to MaxKB version 2.9.0 or later, where this vulnerability has been fixed by making tokens mandatory for event triggers, correcting the authentication response in WebhookAuth, and including a migration to add tokens to existing untokened triggers. If an immediate upgrade is not possible, tokens can be manually added to existing event triggers, the sandbox feature can be enabled to limit the impact of any code execution, and network access to the webhook endpoint can be restricted to trusted IPs.

Added: May 26, 2026, 9:47 PM
Updated: May 26, 2026, 9:47 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.6
exploitability
8.7
remediation
0.0
relevance
9.6
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.