{"id":"CVE-2026-48695","aliases":["CVE-2026-48695"],"related":[],"kind":"vulnerability","state":"published","title":"FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the MikroTik router integration plugin.","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"},{"lang":"es","text":"FastNetMon Community Edition hasta la versión 1.2.9 contiene una vulnerabilidad de inyección de comandos del sistema operativo en el plugin de integración de router MikroTik. La función _log() en src/mikrotik_plugin/fastnetmon_mikrotik.php (líneas 107-108) construye comandos de shell concatenando el parámetro $msg directamente en las llamadas a exec(): exec('echo 'date' '- {FASTNETMON] - ' . $msg . ' ' >> ' . $FILE_LOG_TMP). Esto es idéntico en patrón a la vulnerabilidad del plugin de Juniper. La variable $msg contiene datos de ataque no saneados de los argumentos de la línea de comandos. Un atacante que puede influir en los valores de argv[] puede inyectar comandos de shell arbitrarios. La solución es reemplazar exec() con file_put_contents() o usar escapeshellarg().","source":"nvd"}],"published":"2026-05-26T00:00:00.000Z","modified":"2026-07-21T19:10:00.107Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"1.2.9"}],"vendor":"pavel-odintsov","product":"fastnetmon","cpe":"cpe:2.3:a:pavel-odintsov:fastnetmon:*:*:*:*:community:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pavel-odintsov/fastnetmon","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pavel-odintsov/fastnetmon/blob/master/src/mikrotik_plugin/fastnetmon_mikrotik.php","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48695-mikrotik-cmd-injection","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-26T20:17:29.930Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-48695","url":"https://www.cve.org/CVERecord?id=CVE-2026-48695","licence":"CVE Terms of Use","modified":"2026-05-26T20:17:41.811Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-48695","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48695","licence":"Public domain","modified":"2026-07-21T19:10:00.107Z"}],"updatedAt":"2026-11-25T22:59:22.363Z","epss":{"score":0.0107,"percentile":0.65788,"date":"2026-12-01T12:00:22.000Z"}}