{"id":"DEBIAN-CVE-2026-48695","details":"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 . \" \\\" \u003e\u003e \" . $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().","modified":"2026-09-14T17:03:16.040176169Z","published":"2026-05-26T18:16:52.950Z","upstream":["CVE-2026-48695"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-48695"}],"affected":[{"package":{"name":"fastnetmon","ecosystem":"Debian:12","purl":"pkg:deb/debian/fastnetmon?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.4-2","1.2.4-2+deb12u1","1.2.5-1","1.2.5-2","1.2.5-2~bpo12+1","1.2.6-1","1.2.6-1~bpo12+1","1.2.7-1","1.2.7-1~bpo12+1","1.2.8+git20250911-1","1.2.8+git20250911-2","1.2.8-1","1.2.8-1~bpo12+1","1.2.9-1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48695.json"}},{"package":{"name":"fastnetmon","ecosystem":"Debian:13","purl":"pkg:deb/debian/fastnetmon?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.9-0+deb13u1"}]}],"versions":["1.2.8+git20250911-1","1.2.8+git20250911-2","1.2.8-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48695.json"}},{"package":{"name":"fastnetmon","ecosystem":"Debian:14","purl":"pkg:deb/debian/fastnetmon?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.9-1"}]}],"versions":["1.2.8+git20250911-1","1.2.8+git20250911-2","1.2.8-1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48695.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"}]}