CVE-2026-67281 PUBLISHED

Unauthenticated file read in Mikrotik RouterOS

Assigner: CERT-PL
Reserved: 29.07.2026 Published: 05.09.2026 Updated: 05.09.2026

RouterOS WebFig contains an unauthenticated file-read vulnerability in the /jsproxy path where a newly allocated session retains a stale uninitialized principal pointer used for file authorization. An unauthenticated attacker can prepare the allocator so that the file-serving path dereferences this pointer with sufficient rights, then supply parent-directory components in an encrypted URI to escape the WebFig file namespace and disclose root-owned files, including configuration stores containing credentials.This issue was fixed in versions: 6.49.21 (Long-term), 7.23.4 (Long-term) and 7.24.2 (Stable)

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.7

Product Status

Vendor Mikrotik
Product RouterOS
Versions Default: unaffected
  • affected from 7.24 to 7.24.2 (excl.)
  • affected from 7.0.0 to 7.23.4 (excl.)
  • affected from 6.0.0 to 6.49.21 (excl.)

Credits

  • Sławomir Rozbicki (CERT.PL) finder

References

Problem Types

  • CWE-824 Access of uninitialized pointer CWE
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE