CVE-2026-89021
published medium CVSS 4.0 · 6.9MikroTik RouterOS Path Traversal via Container OCI/tar Image Extraction
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MikroTik | — | RouterOS0 to < 7.24.2 · Other versions: unknown | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.9 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MikroTik | RouterOS | 0 to < 7.24.2 (affected · semver)Default: unknown | VulnCheck · cna |
Weaknesses
2- CWE-59 Improper Link Resolution Before File Access ('Link Following')
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
2- 7.24.2 Release Notes https://forum.mikrotik.com/t/7-24-2-stable-is-released/272800
- https://www.vulncheck.com/advisories/mikrotik-routeros-path-traversal-via-container-oci-tar-image-extraction
Provider assertions
2VulnCheck · cna
MikroTik RouterOS Path Traversal via Container OCI/tar Image Extraction
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9b829ddf414542e60d7dafe638f206fa5f5e896fc285dff3629ac778136e7422
- Ingested
- 01 Oct 2026, 18:42:37 UTC
- Source record
- Official CVE record