CVE-2026-123665 Details
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.
A permission vulnerability has been identified in Kubescape versions through 4.0.15, specifically in the Output component's GetWriter function within the file core/pkg/resultshandling/printer/printresults.go. The issue arises because the function writes scan report files using the default file creation method, which does not set explicit permissions. As a result, the files may be left world-readable. This vulnerability requires local access to exploit.
Upgrade to Kubescape version 4.0.16 or later, where this vulnerability has been addressed. In the updated version, the application explicitly sets the file permissions to '0600' after creating the report file, ensuring that only the file owner can read or write it.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/kubescape/kubescape/ | [email protected] | Vendor |
| https://github.com/kubescape/kubescape/commit/d90f77314c7d4f2b53cf2425844bde2315bd26d2 | [email protected] | Source CodeVendor |
| https://github.com/kubescape/kubescape/issues/4091 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/kubescape/kubescape/pull/4092 | [email protected] | Issue TrackingVendor |
| https://github.com/kubescape/kubescape/releases/tag/v4.0.16 | [email protected] | Release NotesVendor |
| https://vuldb.com/cve/CVE-2026-123665 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/1033587 | [email protected] | Permission Required |
| https://vuldb.com/vuln/431789 | [email protected] | Permission Required |
| https://vuldb.com/vuln/431789/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-266 | Incorrect Privilege Assignment | [email protected] |
| CWE-275 | Permission Issues | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| kubescape | <= 4.0.12 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 6, 2026 | New CVE Received | [email protected] |
Volerion