{"id":"CVE-2026-89021","aliases":["CVE-2026-89021"],"related":[],"kind":"vulnerability","state":"published","title":"MikroTik RouterOS Path Traversal via Container OCI/tar Image Extraction","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-14T18:06:31.966Z","modified":"2026-10-01T15:21:49.680Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:L","score":6.9,"rating":"MEDIUM"}],"cwes":["CWE-22","CWE-59"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"7.24.2","status":"affected"}],"vendor":"MikroTik","product":"RouterOS","source":"cvelist"}],"references":[{"url":"https://forum.mikrotik.com/t/7-24-2-stable-is-released/272800","tags":["patch","release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/mikrotik-routeros-path-traversal-via-container-oci-tar-image-extraction","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Kazuma Matsumoto, a security researcher at GMO Cybersecurity by IERAE, Inc."],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-14T19:01:29.158Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89021","url":"https://www.cve.org/CVERecord?id=CVE-2026-89021","licence":"CVE Terms of Use","modified":"2026-10-01T15:21:49.680Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89021","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89021","licence":"Public domain","modified":"2026-09-24T21:04:40.340Z"}],"updatedAt":"2026-11-25T22:59:38.346Z","epss":{"score":0.00244,"percentile":0.16687,"date":"2026-12-01T12:00:22.000Z"}}