Skip to content
Heist/ feed
Medium

MikroTik RouterOS Path Traversal via Container OCI/tar Image Extraction

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-89021

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89021

RouterOS

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "MikroTik",
    "product": "RouterOS",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "7.24.2",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unknown"
  }
]
Related CVEs
CVE-2026-89021

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#5584 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement