Skip to main content

K3s EUVDEUVD-2026-39512

| CVE-2026-54250 MEDIUM
Path Traversal (CWE-22)
2026-06-25 GitHub_M GHSA-jxr7-mqhw-9p98
5.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft zip with path-traversal member names
  2. Delivery
    Deliver malicious archive to K3s admin
  3. Exploit
    Admin executes etcd snapshot restore
  4. Execution
    K3s decompresses without path sanitization
  5. Persist
    Attacker-controlled files written to arbitrary filesystem paths
  6. Impact
    Overwritten 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – 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

k3s 1.35.0-rc1+k3s1, < 1.35.3+k3s1
k3s 1.34.0-rc1+k3s1, < 1.34.6+k3s1
k3s < 1.33.10+k3s1

Affected Packages

go github.com/k3s-io/k3s fix: 1.33.10, 1.34.6, 1.35.3
euvd k3s fix: 1.33.10+k3s1
euvd k3s_1_34_0_rc1_k3s1 fix: 1.34.6+k3s1
euvd k3s_1_35_0_rc1_k3s1 fix: 1.35.3+k3s1

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

Vendor (GitHub_M) PRIMARY 5.8 MEDIUM
AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:H
vuln.today AI 5.8 MEDIUM

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).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

1
Patch available
Jun 25, 2026 - 20:03 EUVD

DescriptionCVE.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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Medium
popular lightweight Kubernetes distro, common in edge and IoT deployments
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +29
PoC: +20
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.

Vendor StatusVendor

SUSE

Severity: Moderate

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