CVE-2026-54250

K3s: ZIP Archive Path Traversal Vulnerability in etcd Snapshot Decompression

State
Published
Severity
5.8 Medium
Published
Jun 25, 2026
Updated
Jun 26, 2026
Reserved
Jun 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.8 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:HGitHub_M

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
k3sk3s-io
  • >= 1.35.0-rc1+k3s1, < 1.35.3+k3s1Affected
  • >= 1.34.0-rc1+k3s1, < 1.34.6+k3s1Affected
  • < 1.33.10+k3s1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.