Summary
CVE-2026-67281 is an unauthenticated file-disclosure vulnerability in MikroTik RouterOS’s WebFig web management interface, specifically in the /jsproxy handler. The flaw stems from an uninitialized pointer that RouterOS can be tricked into using for file-access authorization, allowing a remote, unauthenticated attacker to read root-owned files — including configuration files that contain credentials. The issue carries a CVSS score of 8.7 (High) and affects all currently deployed RouterOS release branches (v6 and v7) prior to the patched versions.
Technical details
- Root cause: A newly allocated WebFig session retains a stale, uninitialized "principal" pointer that is later dereferenced by the
/jsproxyfile-serving code path to authorize file access (CWE-824: Access of Uninitialized Pointer). - Trigger conditions: An attacker who can influence memory allocator behavior can cause the uninitialized pointer to resolve to a principal with elevated file-access rights.
- Attack vector: By supplying parent-directory (
../) traversal components inside an encrypted WebFig URI, the attacker escapes the intended WebFig file namespace (CWE-22: Path Traversal) and reads arbitrary files on the device. - Impact: Disclosure of root-owned files, including configuration stores that contain credentials — with no authentication and no user interaction required. The vulnerability affects confidentiality only; no direct impact on integrity or availability was reported.
Affected software
- MikroTik RouterOS 7.24.x prior to 7.24.2 (Stable)
- MikroTik RouterOS 7.0.0 through 7.23.3 (fixed in 7.23.4, Long-term)
- MikroTik RouterOS 6.0.0 through 6.49.20 (fixed in 6.49.21, Long-term)
Exposure requires the WebFig service to be reachable by an attacker (e.g., exposed to the internet or an untrusted network).
Severity
- CVSS v4.0 Base Score: 8.7 (High)
- 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 - Network attack vector, low attack complexity, no privileges or user interaction required, high impact to confidentiality.
Mitigation and recommended actions
- Immediate: Upgrade RouterOS to one of the fixed releases:
- 6.49.21 (Long-term)
- 7.23.4 (Long-term)
- 7.24.2 (Stable)
- Any subsequent release incorporating these fixes (e.g., 7.25 beta builds)
- If patching is not immediately possible:
- Do not expose WebFig, Winbox, or SSH management interfaces directly to the internet or untrusted networks.
- Restrict access to management services using firewall rules limited to trusted management networks/hosts.
- Use a VPN for remote administrative access instead of exposing management ports.
- Segment administrative interfaces onto isolated VLANs where feasible.
- After upgrading: Review device configuration for unauthorized users, scripts, or scheduler entries, and rotate any credentials that may have been stored on the device, since exploitation could have disclosed configuration files containing credentials prior to patching.

