Skip to content
Heist/ feed
Back to feed
Low

MaxKB: Sandbox Result Validation Bypass via Tool Output Spoofing

Type: advisorySources: OSV

MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, an authenticated user can bypass sandbox result validation and spoof tool execution results by exploiting Python frame introspection to read the wrapper's UUID from its bytecode constants, then writing a forged result directly to file descriptor 1 (bypassing stdout redirection). By calling sys.exit(0), the attacker terminates the wrapper before it prints the legitimate output, causing the MaxKB service to parse and trust the spoofed response as the genuine tool result. This issue has been fixed in version 2.8.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-39419
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:37 UTC · Revision 1

Source evidence

MaxKB: Sandbox Result Validation Bypass via Tool Output Spoofing

core-osv · Original source

Published 14 Apr 2026, 01:03 UTC

MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, an authenticated user can bypass sandbox result validation and spoof tool execution results by exploiting Python frame introspection to read the wrapper's UUID from its bytecode constants, then writing a forged result directly to file descriptor 1 (bypassing stdout redirection). By calling sys.exit(0), the attacker terminates the wrapper before it prints the legitimate output, causing the MaxKB service to parse and trust the spoofed response as the genuine tool result. This issue has been fixed in version 2.8.0.

osv:CVE-2026-39419
Complete source record
{
  "id": "370b13094c8de85653785a9e74d0a31a0cb78233227fd016e277111c795a42b8",
  "url": "https://osv.dev/vulnerability/CVE-2026-39419",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MaxKB: Sandbox Result Validation Bypass via Tool Output Spoofing",
    "summary": "MaxKB is an open-source AI assistant for enterprise. In versions 2.7.1 and below, an authenticated user can bypass sandbox result validation and spoof tool execution results by exploiting Python frame introspection to read the wrapper's UUID from its bytecode constants, then writing a forged result directly to file descriptor 1 (bypassing stdout redirection). By calling sys.exit(0), the attacker terminates the wrapper before it prints the legitimate output, causing the MaxKB service to parse and trust the spoofed response as the genuine tool result. This issue has been fixed in version 2.8.0.",
    "evidence": "osv:CVE-2026-39419",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-39419",
      "aliases": [
        "CVE-2026-39419",
        "GHSA-f3c8-p474-xwfv"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/1panel-dev/maxkb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f0a73da5d9ee22e6374dabd4da1081569659530c"
                },
                {
                  "fixed": "38c4cfecd065293ede0437f6fa76cf0116591d25"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:maxkb:maxkb:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.8.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "38c4cfecd065293ede0437f6fa76cf0116591d25"
                      }
                    ],
                    "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-39419.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.224280176Z",
      "provider": "osv",
      "references": [
        "https://github.com/1Panel-dev/MaxKB/releases/tag/v2.8.0",
        "https://github.com/1Panel-dev/MaxKB/security/advisories/GHSA-f3c8-p474-xwfv",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39419.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-39419",
        "https://github.com/1Panel-dev/MaxKB/commit/38c4cfecd065293ede0437f6fa76cf0116591d25"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-290",
          "CWE-693",
          "CWE-74"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39419.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-39419",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510757,
  "published_at": "2026-04-14T01:03:40.653+00:00"
}