Skip to main content

FastNetMon Community Edition CVE-2026-48695

| EUVDEUVD-2026-31949 HIGH
OS Command Injection (CWE-78)
2026-05-26 mitre GHSA-vh5g-h8jm-q2cw
8.1
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

3
Analysis Generated
Jun 08, 2026 - 10:09 vuln.today
CVSS changed
May 26, 2026 - 21:22 NVD
8.1 (HIGH)
CVE Published
May 26, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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().

AnalysisAI

OS command injection in FastNetMon Community Edition through 1.2.9 lets an authenticated network attacker execute arbitrary shell commands via the MikroTik router integration plugin by influencing argv[] values passed to the unsanitized _log() function. The flaw mirrors a previously disclosed Juniper plugin issue in the same project, and while a public technical write-up exists at lorikeetsecurity.com, no public exploit code or active exploitation has been identified, with EPSS at 0.05% (17th percentile).

Technical ContextAI

FastNetMon is an open-source DDoS detection and mitigation tool, and its MikroTik integration is implemented in PHP at src/mikrotik_plugin/fastnetmon_mikrotik.php. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command): lines 107-108 of _log() build a shell command by string-concatenating the $msg parameter into PHP's exec() call (exec("echo date ... " . $msg . " >> " . $FILE_LOG_TMP)), and $msg is derived from command-line arguments passed by FastNetMon's core when an attack event is dispatched to the plugin. Because PHP's exec() invokes /bin/sh, any shell metacharacters such as backticks, $(), semicolons, or pipes in $msg are interpreted by the shell rather than treated as literal text, turning attacker-controllable log content into command execution.

RemediationAI

No vendor-released patch identified at time of analysis; the public write-up at https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48695-mikrotik-cmd-injection recommends replacing the exec() call in _log() with file_put_contents() (eliminating shell invocation entirely) or, if exec() must be retained, wrapping the $msg argument in escapeshellarg() to neutralize shell metacharacters - operators can apply this change locally to src/mikrotik_plugin/fastnetmon_mikrotik.php at lines 107-108 pending an upstream release. As a compensating control until the patch is applied, disable the MikroTik integration plugin (and review the Juniper plugin for the same pattern) which will stop the affected code path at the cost of losing automated MikroTik mitigation actions; alternatively, run FastNetMon as an unprivileged service account isolated from the rest of the host so that successful command execution is constrained, accepting that this does not prevent exploitation, only blast radius. Monitor the upstream repository at https://github.com/pavel-odintsov/fastnetmon for a tagged release containing the fix.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2026-48695 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy