fastnetmon — security advisory
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().
- Products
- fastnetmon
- Affected versions
- 1.1.3+dfsg-3, 1.1.3+dfsg-4, 1.1.3+dfsg-6build1, 1.1.4-1, 1.1.4-1build3, 1.1.4-1build4, 1.1.4-1build5, 1.1.4-1ubuntu0.1~esm1, 1.2.5-1, 1.2.6-1, 1.2.6-1build1, 1.2.6-1build2, 1.2.6-1build3, 1.2.6-1build4, 1.2.6-1ubuntu0.1~esm1, 1.2.8+git20250911-1, 1.2.8+git20250911-1build1, 1.2.8+git20250911-1build2, 1.2.8+git20250911-2, 1.2.8+git20250911-2ubuntu0.1~esm1, 1.2.8-1build1, 1.2.8-1build2, 1.2.9-1, 1.2.9-1build1, 1.2.9-1build2
- Fixed versions
- Not specified
- CVEs
- CVE-2026-48695
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 03:07 UTC · Revision 1
Source evidence
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().
osv:UBUNTU-CVE-2026-48695
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
fastnetmon
Fixed versions: Not specified
Complete source record
{
"id": "a795dad7dee77800eb625f110e4e63b6e08d91a3c130bb8c9cac5636e72e2110",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-48695",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-48695",
"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().",
"evidence": "osv:UBUNTU-CVE-2026-48695",
"products": [
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.3+dfsg-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.3+dfsg-4",
"evidence": "/affected/0/versions"
},
{
"value": "1.1.3+dfsg-6build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.1.4-1",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.4-1build3",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.4-1build4",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.4-1build5",
"evidence": "/affected/1/versions"
},
{
"value": "1.1.4-1ubuntu0.1~esm1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.5-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1build1",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1build2",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1build3",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1build4",
"evidence": "/affected/2/versions"
},
{
"value": "1.2.6-1ubuntu0.1~esm1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.8-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.8-1build2",
"evidence": "/affected/3/versions"
},
{
"value": "1.2.8+git20250911-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.8+git20250911-2",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.9-1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.9-1build1",
"evidence": "/affected/4/versions"
},
{
"value": "1.2.9-1build2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "fastnetmon",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.2.8+git20250911-1",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.8+git20250911-1build1",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.8+git20250911-1build2",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.8+git20250911-2",
"evidence": "/affected/5/versions"
},
{
"value": "1.2.8+git20250911-2ubuntu0.1~esm1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2026-48695",
"aliases": [
"UBUNTU-CVE-2026-48695"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.1.3+dfsg-3",
"1.1.3+dfsg-4",
"1.1.3+dfsg-6build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48695.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.1.3+dfsg-6build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=esm-apps%2Ffocal",
"ecosystem": "Ubuntu:Pro:20.04:LTS"
},
"versions": [
"1.1.4-1",
"1.1.4-1build3",
"1.1.4-1build4",
"1.1.4-1build5",
"1.1.4-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48695.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.1.4-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"1.2.5-1",
"1.2.6-1",
"1.2.6-1build1",
"1.2.6-1build2",
"1.2.6-1build3",
"1.2.6-1build4",
"1.2.6-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48695.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.2.6-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.2.8-1build1",
"1.2.8-1build2",
"1.2.8+git20250911-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48695.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.2.8+git20250911-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.2.8+git20250911-2",
"1.2.9-1",
"1.2.9-1build1",
"1.2.9-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48695.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.2.9-1build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "fastnetmon",
"purl": "pkg:deb/ubuntu/fastnetmon?arch=source&distro=esm-apps%2Fresolute",
"ecosystem": "Ubuntu:Pro:26.04:LTS"
},
"versions": [
"1.2.8+git20250911-1",
"1.2.8+git20250911-1build1",
"1.2.8+git20250911-1build2",
"1.2.8+git20250911-2",
"1.2.8+git20250911-2ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48695.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "fastnetmon",
"binary_version": "1.2.8+git20250911-2ubuntu0.1~esm1"
}
]
}
}
],
"modified": "2026-10-17T13:00:23.803931468Z",
"provider": "osv",
"upstream": [
"CVE-2026-48695"
],
"references": [
"https://ubuntu.com/security/CVE-2026-48695",
"https://www.cve.org/CVERecord?id=CVE-2026-48695",
"https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48695-mikrotik-cmd-injection",
"https://github.com/pavel-odintsov/fastnetmon/pull/1047",
"https://github.com/pavel-odintsov/fastnetmon/commit/54a95427a1f6fe0237ddb0c3fc14622df1c93870",
"https://github.com/pavel-odintsov/fastnetmon",
"https://github.com/pavel-odintsov/fastnetmon/blob/master/src/mikrotik_plugin/fastnetmon_mikrotik.php"
]
},
"related_cves": [
{
"value": "CVE-2026-48695",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 360484,
"published_at": "2026-05-26T18:16:00+00:00"
}