CVE-2026-39424: CWE-1236: Improper Neutralization of Formula Elements in a CSV File in 1Panel-dev MaxKB
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.
AI Analysis
Technical Summary
MaxKB versions 2.7.1 and earlier have a vulnerability in the chat export feature accessed via the /admin/api/workspace/{workspace_id}/application/{application_id}/chat/export endpoint. The exported Excel (.xlsx) files contain unsanitized strings starting with formula characters, which can be interpreted by spreadsheet applications like Microsoft Excel as formulas. This improper neutralization of formula elements (CWE-1236) can lead to arbitrary code execution on the administrator's workstation through DDE. The issue is a variant of CVE-2025-4546, which addressed a similar problem in a different part of the application but missed this export functionality. The vulnerability is resolved in MaxKB version 2.8.0.
Potential Impact
An attacker who can influence chat content that an administrator exports may cause malicious formulas to be embedded in the exported Excel file. When the administrator opens this file in a vulnerable spreadsheet application, it may trigger arbitrary code execution via DDE, compromising the administrator's workstation. This could lead to unauthorized actions or system compromise on the administrator's machine. The CVSS 4.0 base score is 5.3 (medium severity), reflecting network attack vector, low complexity, no user interaction, and limited confidentiality, integrity, and availability impacts.
Mitigation Recommendations
This vulnerability is fixed in MaxKB version 2.8.0. Administrators should upgrade to version 2.8.0 or later to remediate this issue. Until the upgrade is applied, avoid exporting chat histories to Excel files or ensure that exported files are opened in spreadsheet applications with DDE and formula execution disabled. Patch status is not explicitly stated in the vendor advisory, but the fix is included in version 2.8.0 as per the description.
CVE-2026-39424: CWE-1236: Improper Neutralization of Formula Elements in a CSV File in 1Panel-dev MaxKB
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.
CVSS v4.0
Score 5.3medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
MaxKB versions 2.7.1 and earlier have a vulnerability in the chat export feature accessed via the /admin/api/workspace/{workspace_id}/application/{application_id}/chat/export endpoint. The exported Excel (.xlsx) files contain unsanitized strings starting with formula characters, which can be interpreted by spreadsheet applications like Microsoft Excel as formulas. This improper neutralization of formula elements (CWE-1236) can lead to arbitrary code execution on the administrator's workstation through DDE. The issue is a variant of CVE-2025-4546, which addressed a similar problem in a different part of the application but missed this export functionality. The vulnerability is resolved in MaxKB version 2.8.0.
Potential Impact
An attacker who can influence chat content that an administrator exports may cause malicious formulas to be embedded in the exported Excel file. When the administrator opens this file in a vulnerable spreadsheet application, it may trigger arbitrary code execution via DDE, compromising the administrator's workstation. This could lead to unauthorized actions or system compromise on the administrator's machine. The CVSS 4.0 base score is 5.3 (medium severity), reflecting network attack vector, low complexity, no user interaction, and limited confidentiality, integrity, and availability impacts.
Mitigation Recommendations
This vulnerability is fixed in MaxKB version 2.8.0. Administrators should upgrade to version 2.8.0 or later to remediate this issue. Until the upgrade is applied, avoid exporting chat histories to Excel files or ensure that exported files are opened in spreadsheet applications with DDE and formula execution disabled. Patch status is not explicitly stated in the vendor advisory, but the fix is included in version 2.8.0 as per the description.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-07T00:23:30.596Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69dd958b82d89c981f9c58a6
Added to database: 4/14/2026, 1:16:59 AM
Last enriched: 4/21/2026, 5:58:37 AM
Last updated: 5/29/2026, 10:07:32 AM
Views: 110
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.