CVE-2026-89021
MikroTik RouterOS before 7.24.2 contains a path traversal vulnerability in the container package OCI/tar image extraction that allows attackers to write files outside the container root by supplying a crafted container image with symlinks pointing to arbitrary paths. Attackers can exploit unsanitized tar member path extraction during container import via /container/add to achieve root-privileged file creation, directory creation, file deletion via overlayfs whiteout, and hardlink creation on the persistent data partition without ever starting the container. The 7.23.x long-term branch does not contain this fix; the container binaries in container-7.23.3.npk and container-7.23.4.npk are byte-identical, and there is no fixed long-term release at the time of publication.
Scoring
- Severity
- MEDIUM
- CVSS base score
- 6.9
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:L
- EPSS probability
- 0.24%
- CWE
- CWE-59, CWE-22
- Published
- 2026-09-14
- Last modified
- 2026-09-16
Affected products
- MikroTik RouterOS
Weakness type
Related vulnerabilities
- CVE-2026-11940 — tarfile extraction filter bypass allows escaping the destination directory
- CVE-2026-7374 — Kubevirt: kubevirt virt-handler: privilege escalation and node compromise via symlink following vulnerability
- CVE-2026-63294 — Root RCE via image backup.yaml symlink
- CVE-2026-63293 — Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root
- CVE-2026-63125 — Incus vulnerable to root RCE via image backup.yaml symlink
- CVE-2026-57571 — Crawl4AI arbitrary file write via download filename path traversal
- CVE-2026-54352 — Budibase: Arbitrary file read by workspace-builder via PWA-zip symlink upload
- CVE-2026-53476 — Assisted-migration-agent: vddk tarball chained-symlink arbitrary file write