Description
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.
Published: 2026-11-06
Score: 2.4 Low
EPSS: n/a
KEV: No
Impact: Local Permission Escalation
Action: Apply Patch
AI Analysis

Impact

The vulnerability is a permission misconfiguration in the GetWriter function of kubescape's result handling output component. Manipulating the outputFile argument can cause the program to create or modify files with inappropriate file system permissions, allowing a user with local access to write files in directories they should not have write rights to or set permissions that expose sensitive data. The weakness is classified under CWE-266 and CWE-275.

Affected Systems

Affected versions are all releases of kubescape up to and including 4.0.15. Users running these versions on any operating system are at risk if they invoke kubescape with a crafted outputFile argument. The fix is provided in kubescape v4.0.16 and later, which implements proper validation of the output path. There is no known vendor version information beyond the 4.0.15 boundary.

Risk and Exploitability

The severity score of 2.4 indicates a low impact and the vulnerability requires local access; it is not currently listed in CISA's KEV catalog and there is no EPSS score available. Exploitation would likely require the attacker to have a local user account or elevate privileges within the host. Due to its low CVSS and local nature, the risk is limited but patching is still recommended to prevent accidental permission leakage.

Generated by OpenCVE AI on November 6, 2026 at 17:09 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update kubescape to version 4.0.16 or later to apply the official fix.
  • If immediate upgrade is not possible, manually apply the patch commit d90f77314c7d4f2b53cf2425844bde2315bd26d2 to the printresults.go file to enforce correct permission handling.
  • Run kubescape with the least privilege necessary and ensure that the outputFile directory is owned by a user with restricted write permissions to limit the impact of any potential misuse.

Generated by OpenCVE AI on November 6, 2026 at 17:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 15:00:00 +0000

Type Values Removed Values Added
Description 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.
Title kubescape Output printresults.go GetWriter permission
First Time appeared Kubescape
Kubescape kubescape
Weaknesses CWE-266
CWE-275
CPEs cpe:2.3:a:kubescape:kubescape:*:*:*:*:*:*:*:*
Vendors & Products Kubescape
Kubescape kubescape
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:P/I:N/A:N/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 2.8, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 2.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 2.4, 'vector': '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'}


Subscriptions

Kubescape Kubescape
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-11-06T14:45:22.473Z

Reserved: 2026-11-06T09:21:22.516Z

Link: CVE-2026-123665

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-06T15:17:20.670

Modified: 2026-11-06T15:17:20.847

Link: CVE-2026-123665

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T17:15:06Z

Weaknesses