CVE-2026-89021
MikroTik RouterOS Path Traversal via Container OCI/tar Image Extraction
Mitigation
- Upgrade RouterOS to 7.24.2 or later.
Who should check
- Anyone running MikroTik RouterOS < 7.24.2
Vulnerability facts
- Affected
- MikroTik RouterOS < 7.24.2
- Fixed in
- MikroTik RouterOS 7.24.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:LOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: High
- User interaction: Passive
- Confidentiality impact: None
- Integrity impact: High
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: High
- Availability impact on other systems: Low
- EPSS
- 0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
- CWE
- CWE-59, CWE-22
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| MikroTik RouterOS | < 7.24.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-89021. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-89021.md Affected: MikroTik RouterOS < 7.24.2 Fixed in: MikroTik RouterOS 7.24.2 Steps: 1. Search this machine and project for MikroTik RouterOS: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-89021 being exploited?
There is no confirmed exploitation: CVE-2026-89021 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-89021?
Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-89021?
MikroTik RouterOS < 7.24.2.
Is there a fix for CVE-2026-89021?
Yes. Fixed in MikroTik RouterOS 7.24.2. Upgrade RouterOS to 7.24.2 or later.
How do I check if I'm affected by CVE-2026-89021?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.