CVE-2026-89021: MikroTik RouterOS Path Traversal via Container OCI/tar Image Extraction
CVE-2026-89021 affects 94 listed versions of MikroTik RouterOS in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
MikroTik RouterOS
94 of 250 listed versions are affected. Fixed in 7.24.2. The newest release, 7.25.2, is not affected.
7.24.1 7.24.0 7.24 7.23.8 7.23.7 7.23.6 7.23.5 7.23.4 7.23.3 7.23.2 7.23.1 7.23 7.22.3 7.22.2 7.22.1 7.22 7.21.5 7.21.4 7.21.3 7.21.2 7.21.1 7.21 7.20.8 7.20.7 7.20.6 7.20.5 7.20.4 7.20.3 7.20.2 7.20.1 7.20.0 7.20 7.19.6 7.19.5 7.19.4 7.19.3 7.19.2 7.19.1 7.19 7.18.2 7.18.1 7.18 7.17.2 7.17.1 7.17 7.16.2 7.16.1 7.16 7.15.3 7.15.2 7.15.1 7.15 7.14.3 7.14.2 7.14.1 7.14 7.13.5 7.13.4 7.13.3 7.13.2 and 34 more
What it is
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. The vendor has confirmed that the issue is not resolved in the long-term release and that the fix is carried forward only in the stable branch from 7.24.2 onward, with no backport to the long-term branch planned.
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:L (Vulncheck)
Published by Vulncheck on 14 September 2026. Last changed 24 September 2026.
Sources
Check one version you run: look CVE-2026-89021 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.