Severity by source
AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:H
Administrator must locally restore the archive (AV:L, PR:H, UI:R); arbitrary write causes integrity and availability harm but no direct data disclosure (C:N).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
K3s is a fully conformant production-ready Kubernetes distribution. Prior to 1.35.3+k3s1, 1.34.6+k3s1, v1.33.10+k3s1, a path traversal vulnerability exists in K3s's etcd snapshot decompression functionality. Zip files containing archive members with maliciously crafted names can be written to arbitrary locations on the filesystem when an administrator restores the archive as a compressed etcd snapshot. This vulnerability is fixed in 1.35.3+k3s1, 1.34.6+k3s1, v1.33.10+k3s1.
AnalysisAI
Arbitrary filesystem write via zip-slip in K3s etcd snapshot restoration affects all K3s versions prior to 1.35.3+k3s1, 1.34.6+k3s1, and v1.33.10+k3s1. A maliciously crafted zip archive with path-traversal entries in member filenames (e.g., '../../etc/cron.d/evil') can overwrite arbitrary files on the host filesystem when an administrator performs a compressed etcd snapshot restore. No public exploit code has been identified at time of analysis, and this vulnerability is not listed in CISA KEV.
Technical ContextAI
K3s (cpe:2.3:a:k3s-io:k3s:*:*:*:*:*:*:*:*) is a CNCF-certified, production-ready lightweight Kubernetes distribution designed for edge, IoT, and resource-constrained environments. The vulnerability resides in its etcd snapshot decompression routine, which processes zip archives during cluster state restoration. CWE-22 (Path Traversal) - the root cause class - arises when an application extracts zip archive members without sanitizing or canonicalizing their embedded filenames. This class of flaw is commonly called 'Zip Slip': a zip entry named '../../../../etc/passwd' can resolve outside the intended extraction directory when joined with the destination path using naive string concatenation. K3s failed to strip or reject such directory-traversal sequences prior to writing extracted content, allowing attacker-controlled paths to resolve to arbitrary absolute filesystem locations under the privileges of the restoring process (typically root or a high-privilege service account).
RemediationAI
Upgrade K3s to one of the vendor-released patched versions: 1.35.3+k3s1 (v1.35 branch), 1.34.6+k3s1 (v1.34 branch), or v1.33.10+k3s1 (v1.33 branch), as documented in the GitHub Security Advisory at https://github.com/k3s-io/k3s/security/advisories/GHSA-jxr7-mqhw-9p98. As a compensating control prior to patching, administrators should strictly verify the provenance and integrity (e.g., cryptographic checksum or signature) of any etcd snapshot archive before restoring it, and should only restore snapshots originating from trusted, internally managed sources. Inspecting zip archive member names for directory traversal sequences (entries containing '../') before restoration is an additional manual safeguard. Restricting who can supply snapshot files for restoration and auditing all etcd restore operations reduces the social-engineering attack surface. These compensating controls introduce operational overhead but do not carry significant functional side effects.
More in Kubernetes
View allA critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access
Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio
Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres
A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c
Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter
A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne
Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai
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
Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can
Kyverno Kubernetes policy engine prior to 1.x has a privilege escalation vulnerability (CVSS 9.9) allowing policy bypass
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allVendor StatusVendor
SUSE
Severity: ModerateShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39512
GHSA-jxr7-mqhw-9p98