Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft zip with path-traversal member names
-
DeliveryDeliver malicious archive to K3s admin
-
ExploitAdmin executes etcd snapshot restore
-
ExecutionK3s decompresses without path sanitization
-
PersistAttacker-controlled files written to arbitrary filesystem paths
-
ImpactOverwritten files trigger privileged code execution
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 two concurrent conditions: (1) the attacker must be able to deliver a maliciously crafted zip archive to a K3s administrator, and (2) the administrator must actively execute an etcd snapshot restore operation using that archive. The vulnerability is only triggered via the compressed snapshot restore code path - clusters not using this specific restore functionality are not exposed during normal operation. CVSS PR:H confirms that the restoring identity must hold high privileges (typically root or a privileged Kubernetes operator). CVSS UI:R confirms that passive exploitation is impossible; deliberate administrator action is mandatory. The vulnerability does not require any special non-default K3s configuration beyond the restore feature being available. Exploitation is limited to local or operator-level access scenarios; remote unauthenticated exploitation is not possible given AV:L and PR:H in the CVSS vector. |
| Impact | The CVSS 3.1 base score of 5.8 (Medium) accurately reflects the real-world risk profile. The vector AV:L/AC:L/PR:H/UI:R captures the critical limiting factors: exploitation requires (a) an administrator with privileges to invoke etcd snapshot restoration and (b) that administrator to actually perform the restore using a maliciously crafted archive - a two-step social engineering dependency. Despite the high I:H and A:H impact components - reflecting that arbitrary file writes can overwrite critical system binaries, configuration, or credentials - the PR:H and UI:R gates make opportunistic or automated exploitation effectively impossible. EPSS data is not provided in the available intelligence; given the absence of KEV listing and no public POC, real-world exploitation probability is assessed as low. The attack is not automatable (SSVC Automatable: No) because it requires deliberate administrator action. The primary realistic threat is a supply-chain or insider scenario where a malicious snapshot archive is delivered to a trusted administrator. The severity is correctly classified as Medium rather than High precisely because of these prerequisites. |
| Exploit ScenarioDerived | An attacker with the ability to influence which etcd snapshot archive a K3s administrator restores - for example, by compromising a backup storage location, staging a malicious file on shared storage, or social-engineering the administrator - provides a crafted zip file containing entries with names like '../../var/spool/cron/root'. When the administrator executes the K3s etcd snapshot restore command against this archive, K3s extracts the malicious entry to the traversed path, potentially placing a cron job or overwriting a system binary that executes with root privileges on the next scheduled run or service restart. No public proof-of-concept code has been identified, but the Zip Slip technique is well-documented and the exploit primitive is straightforward to construct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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).
Know when K3S 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
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
1DescriptionCVE.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.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-39512
GHSA-jxr7-mqhw-9p98
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB