CVE-2026-89021: MikroTik RouterOS Path Traversal via Container OCI/tar Image Extraction

Published Sep 14, 2026
·
Updated

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.

Affected Software

2 affected components
Mikrotik RouterOS<7.24.2
Mikrotik RouterOS 7.23.x (long-term branch)=7.23.4, =7.23.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MikroTik RouterOS container OCI/tar image extraction to a version that resolves this vulnerability.

    Fixed in 7.24.2
  2. Compensating control

    Do not import untrusted container images into RouterOS (e.g., via /container/add), since the vulnerability can be exploited during container import without starting the container.

Event History

Sep 14, 2026
CVE Published
via MITRE·06:06 PM
Data Sourced
via MITRE·06:06 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An attacker needs high privileges on the RouterOS device and must be able to induce a user to import a crafted container image through /container/add. Network reachability alone is not sufficient because the vector requires privileges and user interaction.

2

Are long-term 7.23.x deployments protected by an available fix?

No. The 7.23.x long-term branch does not contain the fix, and no fixed long-term release was available at the time of publication; container-7.23.3.npk and container-7.23.4.npk have byte-identical container binaries.

3

What can exploitation do before a container is started?

A crafted OCI/tar image can cause root-privileged file or directory creation outside the container root on the persistent data partition. It can also enable file deletion using overlayfs whiteouts and hardlink creation, without starting the imported container.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203