CVE-2026-54250: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in k3s-io k3s
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.
AI Analysis
Technical Summary
K3s versions prior to 1.35.3+k3s1, 1.34.6+k3s1, and v1.33.10+k3s1 contain a path traversal vulnerability (CWE-22) in the etcd snapshot decompression functionality. When an administrator restores an etcd snapshot from a compressed archive, specially crafted zip files with malicious file names can cause files to be extracted outside the intended directory, potentially overwriting arbitrary files on the filesystem. This vulnerability is addressed in the fixed versions listed.
Potential Impact
An attacker with the ability to provide a malicious etcd snapshot archive to an administrator performing a restore can cause arbitrary files to be written to the filesystem. This can lead to integrity violations and denial of service. The CVSS score of 5.8 reflects a medium severity with high impact on integrity and availability, requiring local privileges with high user interaction.
Mitigation Recommendations
Upgrade to k3s versions 1.35.3+k3s1, 1.34.6+k3s1, or v1.33.10+k3s1 or later, where this path traversal vulnerability is fixed. Until upgraded, avoid restoring etcd snapshots from untrusted or unauthenticated sources to prevent exploitation.
CVE-2026-54250: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in k3s-io k3s
Description
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.
CVSS v3.1
Score 5.8medium
Affected software
pkg:github/k3s-io/k3sRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
K3s versions prior to 1.35.3+k3s1, 1.34.6+k3s1, and v1.33.10+k3s1 contain a path traversal vulnerability (CWE-22) in the etcd snapshot decompression functionality. When an administrator restores an etcd snapshot from a compressed archive, specially crafted zip files with malicious file names can cause files to be extracted outside the intended directory, potentially overwriting arbitrary files on the filesystem. This vulnerability is addressed in the fixed versions listed.
Potential Impact
An attacker with the ability to provide a malicious etcd snapshot archive to an administrator performing a restore can cause arbitrary files to be written to the filesystem. This can lead to integrity violations and denial of service. The CVSS score of 5.8 reflects a medium severity with high impact on integrity and availability, requiring local privileges with high user interaction.
Mitigation Recommendations
Upgrade to k3s versions 1.35.3+k3s1, 1.34.6+k3s1, or v1.33.10+k3s1 or later, where this path traversal vulnerability is fixed. Until upgraded, avoid restoring etcd snapshots from untrusted or unauthenticated sources to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-12T16:25:43.085Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d73fb4853345fc14dfa35
Added to database: 06/25/2026, 18:31:23 UTC
Last enriched: 07/02/2026, 22:35:56 UTC
Last updated: 08/09/2026, 00:41:15 UTC
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.