Skip to content
Heist/ feed
Back to feed
Medium

MaxKB has CSV Injection in its Application Chat Export Functionality

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-39424
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 01:22 UTC · Revision 1

Source evidence

MaxKB has CSV Injection in its Application Chat Export Functionality

core-osv · Original source

Published 14 Apr 2026, 00:56 UTC

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.

osv:CVE-2026-39424
Complete source record
{
  "id": "ae25b01de046ad6ee2232cf5028a4a6f2a7101f313dbabe61c3e2938878cedd0",
  "url": "https://osv.dev/vulnerability/CVE-2026-39424",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MaxKB has CSV Injection in its Application Chat Export Functionality",
    "summary": "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.",
    "evidence": "osv:CVE-2026-39424",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-39424",
      "aliases": [
        "CVE-2026-39424",
        "GHSA-rr4r-7cj2-29vp"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/1panel-dev/maxkb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f0a73da5d9ee22e6374dabd4da1081569659530c"
                },
                {
                  "fixed": "24cd68acae5f726eed828e2ac801827a2a70536f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.8.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "24cd68acae5f726eed828e2ac801827a2a70536f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f0a73da5d9ee22e6374dabd4da1081569659530c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v2.8.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.7.0",
            "v2.6.1",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.0",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.10.4-lts",
            "v1.10.3-lts",
            "v1.10.2-lts",
            "v1.10.1-lts",
            "v1.10.0-lts",
            "v1.9.0",
            "v1.7.0",
            "v1.6.1",
            "v1.6.0",
            "v1.5.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0",
            "v0.9.1",
            "v0.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39424.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.651651065Z",
      "provider": "osv",
      "references": [
        "https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0",
        "https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-rr4r-7cj2-29vp",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39424.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39424",
        "https://github.com/1Panel-dev/MaxKB/commit/24cd68acae5f726eed828e2ac801827a2a70536f"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1236"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39424.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-39424",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 499430,
  "published_at": "2026-04-14T00:56:56.625+00:00"
}