Skip to main content

Kubernetes Java Client CVE-2026-15687

| EUVDEUVD-2026-48363 LOW
Path Traversal (CWE-22)
2026-07-23 kubernetes GHSA-95wq-2cx3-rp73
2.4
CVSS 3.0 · Vendor: kubernetes
View

Attack ChainAIDerived

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

  1. Access
    Attacker compromises a Kubernetes pod
  2. Delivery
    Crafts pod filesystem with path-traversal filenames
  3. Exploit
    Waits for privileged operator to run copyDirectoryFromPod with enableTarCompressing=false
  4. Execution
    Java client resolves traversal paths without sanitization
  5. Impact
    Attacker-controlled files written to arbitrary locations on operator's local machine

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following conditions to be simultaneously true: (1) the attacker has already achieved control of a Kubernetes pod within the target cluster, (2) a high-privileged operator or automated pipeline explicitly invokes copyDirectoryFromPod targeting that compromised pod, and (3) the enableTarCompressing flag is set to false (the non-tar code path). The CVSS vector confirms PR:H (the invoking account must hold sufficient cluster privileges to perform pod copy operations) and UI:R (a user must actively trigger the copy command - it does not execute autonomously). Exploitation is further limited to integrity impact only (file creation on the client machine; no data exfiltration, no availability impact), and scope is unchanged (S:U), meaning the cluster control plane is not directly affected.

Impact

The CVSS 3.0 vector AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N yields a score of 2.7, correctly reflecting the narrow exploitability window. Three concurrent prerequisites must align: a compromised pod (attacker prerequisite), a high-privileged operator actively running copyDirectoryFromPod (PR:H, UI:R), and the non-default enableTarCompressing=false setting. The integrity impact is rated Low (I:L) because the vulnerability enables creation of new files in arbitrary locations rather than overwriting existing files - though depending on the target filesystem this distinction could meaningfully expand real-world impact (e.g., writing to cron directories or SSH authorized_keys). No EPSS data was provided, but given the multi-step prerequisites, opportunistic mass exploitation is implausible. This is not in CISA KEV and no POC has been identified. The realistic threat model is an insider or supply-chain attacker who has compromised a pod and passively waits for a privileged operator or automation pipeline to trigger the vulnerable code path - a narrow but credible persistence vector in DevOps workflows.

Exploit ScenarioDerived

An attacker who has gained control of a Kubernetes pod - through a compromised container image, a code execution vulnerability in a running workload, or misconfigured RBAC - crafts filenames containing path traversal sequences within the pod's filesystem. When a high-privileged operator or automation pipeline subsequently runs a copyDirectoryFromPod call against that pod with enableTarCompressing=false, the Java client writes attacker-controlled content to arbitrary locations on the operator's local machine, potentially enabling persistence (e.g., writing to cron directories or shell profiles). No public POC has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jul 23, 2026

Path traversal in the Kubernetes Java client library's copyDirectoryFromPod function allows a compromised pod to write files to arbitrary locations on the local machine of a high-privileged operator performing copy operations. The vulnerability is only reachable when enableTarCompressing is set to false, and requires both an attacker-controlled pod and an operator actively running a copy command. With a CVSS score of 2.7 (PR:H, UI:R), no public exploit, and no CISA KEV listing, this is a narrow but credible lateral-movement vector in DevOps and CI/CD operator workflows rather than a broadly exploitable flaw.

RemediationAI

The immediate workaround is to avoid invoking copyDirectoryFromPod with enableTarCompressing=false - enabling tar compression (omit the flag or set it to true) eliminates the vulnerable non-tar code path with minimal operational impact. Operators should also restrict pod copy operations to fully trusted pods and avoid running copy commands against pods from untrusted namespaces or sources. No confirmed patched release version is available in the current data; monitor the upstream issue at https://github.com/kubernetes-client/java/issues/4861 for a tagged fix release. As a defense-in-depth measure, restrict Kubernetes RBAC permissions for exec and copy operations to the smallest set of operators or service accounts that require them, reducing the population of accounts that could trigger the vulnerable code path.

Affected VersionsENISA

kubernetes-client/java 10.0.0 <25.0.1
kubernetes-client/java 26.0.0

Affected Packages

euvd kubernetes_client_java fix: 25.0.1

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

The vulnerability resides in the official Kubernetes Java client library (cpe:2.3:a:kubernetes:kubernetes-client/java:*:*:*:*:*:*:*:*), the Java SDK used to interact programmatically with Kubernetes cluster APIs. CWE-22 (Improper Limitation of a Pathname to a Restricted Directory - Path Traversal) is the root cause: when copyDirectoryFromPod is invoked with enableTarCompressing=false, file paths returned by the source pod are not sufficiently sanitized before being used to construct destination paths on the local client filesystem. This allows a malicious pod to inject traversal sequences (e.g., ../../etc/cron.d/backdoor) into filenames, escaping the intended destination directory. The tar-based code path is not affected; only the non-tar branch exhibits this behavior.

Know when Kubernetes 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 (kubernetes) PRIMARY 2.4 LOW
AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 2.4 LOW

Network vector as compromised pod is remote; PR:H because the operator executing the copy must hold cluster permissions; UI:R for active copy invocation; I:L for arbitrary file creation without overwrite.

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

Primary rating from Vendor (kubernetes).

CVSS VectorVendor: kubernetes

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Jul 23, 2026 - 20:03 EUVD
CVSS changed
Jul 23, 2026 - 19:23 NVD
2.7 (LOW) 2.4 (LOW)

DescriptionCVE.org

A security issue was discovered in the Kubernetes Java client library where a compromised pod may be able to create new files in arbitrary locations on the client machine executing copy operations via non-tar copyDirectoryFromPod when enableTarCompressing is false.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
widely used official Java SDK for Kubernetes cluster automation
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.2%
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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

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