Severity by source
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
Lifecycle Timeline
3DescriptionCVE.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.
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31949
GHSA-vh5g-h8jm-q2cw