{"id":"CVE-2026-48687","published":"2026-05-26T00:00:00Z","modified":"2026-05-27T17:23:49Z","title":"FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the Juniper router…","vendor":null,"product":null,"tier":"tail","description":{"text":"FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the Juniper router integration plugin. The _log() function in src/juniper_plugin/fastnetmon_juniper.php (lines 117-118) constructs shell commands by concatenating the $msg parameter directly into exec() calls: exec(\"echo `date` \\\"- {FASTNETMON] - \" . $msg . \" \\\" >> \" . $FILE_LOG_TMP). The $msg variable contains unsanitized data derived from command-line arguments argv[1] through argv[3], which represent the attack IP address, direction, and power. While FastNetMon's C++ core currently passes IP addresses via inet_ntoa() (which only produces safe dotted-decimal notation), the PHP script performs no input validation or shell escaping. If the script is invoked directly, by another orchestration system, or if future code changes pass string-sourced IPs, arbitrary commands can be injected. The correct fix is to replace exec() with file_put_contents() or use escapeshellarg() on all parameters.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02652,"percentile":0.86386,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/pavel-odintsov/fastnetmon","tags":[]},{"url":"https://github.com/pavel-odintsov/fastnetmon/blob/master/src/juniper_plugin/fastnetmon_juniper.php","tags":[]},{"url":"https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48687-juniper-cmd-injection","tags":[]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":17.28},{"name":"CVSS severity","points":5.67}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-27T17:23:45.698795Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-31843","exploited":false,"provenance":"source"}}