Description
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)
Published: 2026-09-05
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

RouterOS WebFig exposes an unauthenticated file‑read flaw in the /jsproxy endpoint. A stale, uninitialized principal pointer is retained in a new session, allowing the file‑serving code to dereference it with elevated rights. An attacker may craft a request whose encrypted URI contains parent‑directory components, thereby escaping the WebFig namespace and reading any root‑owned file, such as configuration stores that contain credentials. This flaw can be exploited without authentication and can leak sensitive data from the system.

Affected Systems

The flaw affects Mikrotik RouterOS deployments. Any device running RouterOS versions before 6.49.21 in the long‑term branch, before 7.23.4 in the long‑term branch, or before 7.24.2 in the stable branch is vulnerable. All affected releases use the WebFig interface exposed on the router, and the vulnerability can target all builds from those points.

Risk and Exploitability

The CVSS base score of 8.7 places this vulnerability in the high‑severity range. EPSS data is not available, and the flaw is not yet listed in the CISA KEV catalog, yet CERT reports that the vulnerability is actively exploited. The attack vector likely involves sending a specially crafted /jsproxy request over HTTP/HTTPS to the router’s WebFig service. Because the flaw is unauthenticated, an adversary on the network that can reach WebFig can read arbitrary files, potentially compromising credentials and configuration. The lack of authentication makes the risk significant, especially for routers exposed to untrusted networks.

Generated by OpenCVE AI on September 5, 2026 at 21:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade your router to RouterOS 6.49.21, 7.23.4, or 7.24.2 depending on your branch version.
  • If the patch is not yet applied, temporarily block or restrict access to the RouterOS WebFig from untrusted networks using firewall rules or access lists.
  • After applying the update, verify that attempts to access /jsproxy no longer return filesystem data and monitor logs for any unauthorized file read activity.

Generated by OpenCVE AI on September 5, 2026 at 21:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 05 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
Description 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 (Lont-term), 7.23.4 (Lont-term) and 7.24.2 (Stable) 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)

Sat, 05 Sep 2026 20:15:00 +0000

Type Values Removed Values Added
Description 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 (Lont-term), 7.23.4 (Lont-term) and 7.24.2 (Stable)
Title Unauthenticated file read in Mikrotik RouterOS
First Time appeared Mikrotik
Mikrotik routeros
Weaknesses CWE-22
CWE-824
CPEs cpe:2.3:a:mikrotik:routeros:*:*:*:*:*:*:*:*
Vendors & Products Mikrotik
Mikrotik routeros
References
Metrics cvssV4_0

{'score': 8.7, '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'}


Subscriptions

Mikrotik Routeros
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-09-05T20:40:58.915Z

Reserved: 2026-07-29T11:59:30.538Z

Link: CVE-2026-67281

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-05T20:17:18.547

Modified: 2026-09-05T21:16:50.723

Link: CVE-2026-67281

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T21:30:17Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-824

    Access of Uninitialized Pointer