{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0"
                  },
                  {
                    "last_affected": "4.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.1"
                  },
                  {
                    "last_affected": "4.0.1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.2"
                  },
                  {
                    "last_affected": "4.0.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.3"
                  },
                  {
                    "last_affected": "4.0.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.4"
                  },
                  {
                    "last_affected": "4.0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.5"
                  },
                  {
                    "last_affected": "4.0.5"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.6"
                  },
                  {
                    "last_affected": "4.0.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.7"
                  },
                  {
                    "last_affected": "4.0.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.8"
                  },
                  {
                    "last_affected": "4.0.8"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.9"
                  },
                  {
                    "last_affected": "4.0.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.10"
                  },
                  {
                    "last_affected": "4.0.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.11"
                  },
                  {
                    "last_affected": "4.0.11"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.12"
                  },
                  {
                    "last_affected": "4.0.12"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.13"
                  },
                  {
                    "last_affected": "4.0.13"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.14"
                  },
                  {
                    "last_affected": "4.0.14"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "introduced": "4.0.15"
                  },
                  {
                    "last_affected": "4.0.15"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              },
              {
                "range": [
                  {
                    "fixed": "d90f77314c7d4f2b53cf2425844bde2315bd26d2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.0.16",
                "range": [
                  {
                    "fixed": "d0ea07bcd9d7ab1640dcd6527d0e68a34f10da0e"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "cfe022ff1d3488415405711513ee993684696ad9"
            },
            {
              "fixed": "d90f77314c7d4f2b53cf2425844bde2315bd26d2"
            },
            {
              "fixed": "d0ea07bcd9d7ab1640dcd6527d0e68a34f10da0e"
            }
          ],
          "repo": "https://github.com/kubescape/kubescape",
          "type": "GIT"
        }
      ],
      "versions": [
        "4.0.0",
        "4.0.1",
        "4.0.10",
        "4.0.11",
        "4.0.12",
        "4.0.13",
        "4.0.14",
        "4.0.15",
        "4.0.2",
        "4.0.3",
        "4.0.4",
        "4.0.5",
        "4.0.6",
        "4.0.7",
        "4.0.8",
        "4.0.9"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-266",
      "CWE-275"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123665.json"
  },
  "details": "A weakness has been identified in kubescape up to 4.0.15. Impacted is the function GetWriter of the file core/pkg/resultshandling/printer/printresults.go of the component Output. Executing a manipulation of the argument outputFile can lead to permission issues. The attack requires local access. Upgrading to version 4.0.16 is recommended to address this issue. This patch is called d90f77314c7d4f2b53cf2425844bde2315bd26d2. Upgrading the affected component is advised.",
  "id": "CVE-2026-123665",
  "modified": "2026-11-11T02:30:31.558197233Z",
  "published": "2026-11-06T14:45:22.473Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/kubescape/kubescape/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123665.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-123665"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/cve/CVE-2026-123665"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/1033587"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/431789"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kubescape/kubescape/issues/4091"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/431789/cti"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kubescape/kubescape/commit/d90f77314c7d4f2b53cf2425844bde2315bd26d2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kubescape/kubescape/pull/4092"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kubescape/kubescape/releases/tag/v4.0.16"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X",
      "type": "CVSS_V4"
    }
  ],
  "summary": "kubescape Output printresults.go GetWriter permission"
}