Skip to content
MediumVulnerability

CVE-2026-39424: MaxKB chat export formula injection in exported Excel files

Identifier
CVE-2026-39424
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

MaxKB versions 2.7.1 and below fail to sanitize formula-leading strings in the chat export feature. When an administrator exports chat history to .xlsx through the /admin/api/workspace/{workspace_id}/application/{application_id}/chat/export endpoint, those strings are written directly, and opening the file in spreadsheet applications such as Microsoft Excel can lead to arbitrary code execution on the administrator's workstation via Dynamic Data Exchange (DDE). The flaw is a variant of CVE-2025-4546, which fixed the same pattern in apps/dataset/serializers/document_serializers.py but missed this export sink.

Mitigation

Fixed in 2.8.0.