Skip to main content

Kubescape EUVDEUVD-2026-118274

| CVE-2026-123665 LOW
Permission Issues (CWE-275)
2026-11-06 VulDB GHSA-q6h3-cwc9-c654
2.4
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain unprivileged local account on host
  2. Exploit
    Operator runs kubescape writing report to shared path
  3. Execution
    Read world-readable report file
  4. Impact
    Harvest exposed scan findings

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Permission management
Exploitation Conditions

Exploitation requires an unprivileged local account on the same host where kubescape (<= 4.0.15) writes a scan report, plus passive operator interaction: the operator must run kubescape and direct output to a file (via the output-file option) at a path accessible to other local users. The exposure arises because the GetWriter path left report files at a permissive mode (e.g. 0644) instead of 0600, so a pre-existing permissive file or creation under a loose umask is the triggering condition. Limiting factors: no network vector (AV:L), the attacker must already have local access (PR:L), the impact is limited to confidentiality of report contents (VC:L, no integrity or availability impact), and the fix in 4.0.16 tightens both new and pre-existing files to 0600; non-regular sinks such as /dev/null are intentionally excluded.

Impact

This is a low-severity local information-disclosure/permission issue, and every available signal points the same way. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:P, VC:L only, VI:N/VA:N, no scope change) scores 2.4, and the vuln.today Decision label is 'monitor' - i.e. patch during a normal maintenance cycle, not an emergency. The source diff confirms the mechanism: kubescape's report writers (GetWriter / GetWriterNoFallback / GetWriterNoStdoutFallback) must tighten output files to 0600 rather than leaving them at a permissive mode such as 0644, so the real-world impact is that locally co-located users could read report contents. No EPSS score was provided in the input, there is no CISA KEV listing, and the referenced GitHub issue/PR/commit are remediation artifacts, not exploit code - so there is no public exploit identified at time of analysis. The signals are consistent rather than conflicting: low CVSS, low real risk, local-only vector. This is genuinely a low priority, not a high-CVSS-but-overrated case.

Exploit ScenarioDerived

On a shared multi-user host, an operator runs kubescape with a report output file that is created or left with world-/group-readable permissions (e.g. 0644). A separate unprivileged local user on the same host then reads that report file and obtains the scan findings it contains. No public proof-of-concept exploit code was identified.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 06, 2026

Kubescape through 4.0.15 can leave generated scan report files with permissive permissions, such as 0644, instead of 0600 when the operator writes output to a file, allowing other local users on the same host to read report contents. Exploitation requires local access and a report path that is either pre-existing with loose permissions or created under a loose umask; there is no network vector and no integrity or availability impact. No public exploit identified at time of analysis, and the vendor-released 4.0.16 update tightens both new and pre-existing report files to 0600.

RemediationAI

Vendor-released patch: 4.0.16. Upgrade Kubescape to v4.0.16 or later (release tag https://github.com/kubescape/kubescape/releases/tag/v4.0.16; patch commit d90f77314c7d4f2b53cf2425844bde2315bd26d2 in PR https://github.com/kubescape/kubescape/pull/4092). The fix enforces 0600 on regular report files, including pre-existing files that were 0644, and intentionally does not Chmod non-regular sinks such as /dev/null. If upgrading immediately is not possible, run kubescape with a restrictive umask such as 077 and ensure any pre-existing output file is chmod 0600 before writing; write reports only into directories that are not readable by other local users, since the permissive report mode is the exposure path. These workarounds reduce exposure but do not alter the code, and a restrictive umask can affect other files created by the same process.

Affected VersionsENISA

kubescape 4.0.11
kubescape 4.0.8
kubescape 4.0.14
kubescape 4.0.3
kubescape 4.0.9
kubescape 4.0.1
kubescape 4.0.2
kubescape 4.0.13
kubescape 4.0.15
kubescape 4.0.6
kubescape 4.0.5
kubescape 4.0.7
kubescape 4.0.0
kubescape 4.0.10
kubescape 4.0.12
kubescape 4.0.4

Affected Packages

euvd kubescape no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kubescape is a Go-based Kubernetes posture-management CLI. The affected code is the report-output path in core/pkg/resultshandling/printer/printresults.go, where GetWriter and sibling helpers (GetWriterNoFallback, GetWriterNoStdoutFallback) open the user-selected outputFile. This is CWE-275 (Permission Issues): report files could be created or left at a mode such as 0644, so users other than the report owner could read scan results. The fix in PR #4092 and commit d90f77314c7d4f2b53cf2425844bde2315bd26d2 adds a shared openFileForWrite path that enforces 0600 on regular report files, including pre-existing permissive files, while deliberately skipping Chmod for non-regular sinks such as /dev/null; tests skip POSIX mode assertions on Windows. The CVSS:4.0 vector is AV:L/AC:L/AT:N/PR:L/UI:P with only VC:L, and the independent assessment scores it CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N. The CPE cpe:2.3:a:n/a:kubescape:*:*:*:*:*:*:*:* is broad and does not narrow the version range beyond the description's 'up to 4.0.15'.

Know when Kubescape gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.4 LOW
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
vuln.today AI 2.8 LOW

Local co-located user (AV:L/PR:L) exploits a report file left world-readable after an operator runs a scan (UI:R); only report confidentiality is exposed (C:L), no integrity or availability impact.

3.1 AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
popular open-source Kubernetes security scanner, common in security/CI workflows, not everywhere
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy