{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "3.3.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "8a26f0db5c86f35abc8c9f452d02448d505c59ae"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "9e9deed7236db1080a782e19cadc8144f2c44b1b"
            },
            {
              "fixed": "8a26f0db5c86f35abc8c9f452d02448d505c59ae"
            }
          ],
          "repo": "https://github.com/evhub/coconut",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-85q3-whq8-63qq"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-427"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141341.json"
  },
  "details": "Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m coconut.icoconut puts the notebook's directory first on sys.path, a planted coconut/__init__.py runs as the user when the notebook opens and the kernel auto-starts.",
  "id": "CVE-2026-141341",
  "modified": "2026-12-01T17:46:09.828704862Z",
  "published": "2026-12-01T15:43:09.235Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141341.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/evhub/coconut"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/evhub/coconut/blob/v3.3.0/coconut/icoconut/coconut_py3/kernel.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/evhub/coconut/commit/8a26f0db5c86f35abc8c9f452d02448d505c59ae"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/evhub/coconut/security/advisories/GHSA-85q3-whq8-63qq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141341"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/coconut-through-3.3.0-code-execution-via-jupyter-kernel-module-hijacking"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Coconut through 3.3.0 Code Execution via Jupyter Kernel Module Hijacking"
}