What’s Vulnerable › Vulnerabilities

CVE-2026-39424: MaxKB has CSV Injection in its Application Chat Export Functionality

Description

MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, the chat export feature is vulnerable to Improper Neutralization of Formula Elements in a CSV File. When an administrator exports the application chat history to an Excel file (.xlsx) via the /admin/api/workspace/{workspace_id}/application/{application_id}/chat/export endpoint, strings starting with formula characters are written directly without proper sanitization. Opening this file in spreadsheet applications like Microsoft Excel can lead to Arbitrary Code Execution (RCE) on the administrator's workstation via Dynamic Data Exchange (DDE). The issue is a variant of CVE-2025-4546, which fixed the exact same pattern in apps/dataset/serializers/document_serializers.py but missed the application chat export sink. This issue has been fixed in version 2.8.0.

Affected products

How to fix

Upgrade to a fixed version: 1Panel-dev MaxKB 2.8.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-39424 or the next vulnerability affects your stack