CVE-2026-77519

MaxKB: Expired application API keys remain usable on `/chat/api/mcp`

Published Sep 21, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
MaxKB is an open-source AI assistant for enterprise. In 2.10.2-lts and earlier, the /chat/api/mcp authentication path looks up an ApplicationApiKey using only its secret and active status, without enforcing the is_permanent and expire_time checks used by the standard chat API. A previously valid, non-permanent application key that remains active after expiration can initialize the MCP endpoint, list the published application's tool metadata, invoke tools/call, and create durable application_chat and application_chat_record state even though /chat/api/open rejects the same key. No fixed version is available as of this review.

Analysis

AI-generated

Technical impact

MaxKB’s `/chat/api/mcp` endpoint authenticates application keys solely by the secret and active status, ignoring the `is_permanent` flag and `expire_time` checks used by the standard chat API. An expired, non‑permanent key that remains active can still reach the MCP route, permitting the attacker to list available tool metadata, invoke tools, and create persistent chat state records. This flaw allows an actor with access to such a key to perform unauthorized operations on the system, potentially exposing sensitive data or consuming resources without permission. The weakness aligns with CWE‑613, an authorization flaw where authentication information is insufficiently validated.

Affected Systems

The vulnerability affects the open‑source AI assistant MaxKB from 1Panel‑dev, specifically versions 2.10.2‑lts and all earlier releases. No fixed version has been identified in the current advisory. Systems running these releases are at risk if they allow unauthenticated or improperly checked keys to access the `/chat/api/mcp` endpoint.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate severity; detailed exploit probability (EPSS) is not available, and the issue is not listed in the CISA KEV catalog. Exploitation requires possession of an expired but still active application key and the ability to send requests to the MCP endpoint, which can be accomplished remotely over the network. Although no public exploit has been documented, the lack of key expiration enforcement means that any compromised key can be reused until revocation. Administrators should treat this as a non‑critical but preventable privilege escalation risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MaxKB to the latest release that includes key expiration enforcement in the MCP endpoint (verify release notes).
  • Revoke or delete any expired or unnecessary application keys from the system.
  • Disable or restrict the `/chat/api/mcp` API route if it is not required by your deployment.
  • Enable audit logging for API key usage and monitor for abnormal activity.

Generated by OpenCVE AI on September 21, 2026 at 21:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared 1panel
1panel maxkb
Vendors & Products 1panel
1panel maxkb
Type Values Removed Values Added
Description MaxKB is an open-source AI assistant for enterprise. In 2.10.2-lts and earlier, the /chat/api/mcp authentication path looks up an ApplicationApiKey using only its secret and active status, without enforcing the is_permanent and expire_time checks used by the standard chat API. A previously valid, non-permanent application key that remains active after expiration can initialize the MCP endpoint, list the published application's tool metadata, invoke tools/call, and create durable application_chat and application_chat_record state even though /chat/api/open rejects the same key. No fixed version is available as of this review.
Title MaxKB: Expired application API keys remain usable on `/chat/api/mcp`
Weaknesses CWE-613
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses
  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 24, 2026, 10:42 PM
Reserved
Aug 20, 2026, 8:23 PM
Status
Deferred
Published
Sep 21, 2026, 9:17 PM
Modified
Sep 24, 2026, 11:19 PM