Skip to content
OpenAdvisories
High · 8.1 CVE-2026-48695 EUVD-2026-31949GHSA-vh5g-h8jm-q2cw

FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the MikroTik router integration plugin. The _l…

Published May 26, 2026 · Updated May 26, 2026 · Assigned by mitre

Description

FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the MikroTik router integration plugin. The _log() function in src/mikrotik_plugin/fastnetmon_mikrotik.php (lines 107-108) constructs shell commands by concatenating the $msg parameter directly into exec() calls: exec("echo `date` \"- {FASTNETMON] - " . $msg . " \" >> " . $FILE_LOG_TMP). This is identical in pattern to the Juniper plugin vulnerability. The $msg variable contains unsanitized attack data from command-line arguments. An attacker who can influence argv[] values can inject arbitrary shell commands. The fix is to replace exec() with file_put_contents() or use escapeshellarg().

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 fastnetmon 1.2.9-1 —
Debian 13 fastnetmon 1.2.9-0+deb13u1 —
Debian 12 fastnetmon No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 fastnetmon No fix yet —
Ubuntu 25.10 fastnetmon No fix yet —
Ubuntu 18.04 LTS fastnetmon No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS fastnetmon No fix yet —
Ubuntu Pro 24.04 LTS fastnetmon No fix yet —
Ubuntu Pro 20.04 LTS fastnetmon No fix yet —

References