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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-09-14T18:06:31.966Z
- Modified: 2026-10-01T15:21:49.680Z
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- MikroTik RouterOS: before 7.24.2

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:L`

## References

- <https://forum.mikrotik.com/t/7-24-2-stable-is-released/272800> (patch, release-notes)
- <https://www.vulncheck.com/advisories/mikrotik-routeros-path-traversal-via-container-oci-tar-image-extraction> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-89021](https://www.cve.org/CVERecord?id=CVE-2026-89021), CVE Terms of Use, modified 2026-10-01
- NVD: [CVE-2026-89021](https://nvd.nist.gov/vuln/detail/CVE-2026-89021), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-89021 · Whole record: https://cve.day/CVE-2026-89021.json · Rebuilt by cve.day 2026-11-25T22:59:38.346Z
