# CVE-2026-48687: FastNetMon Community Edition through 1.2.9 contains an OS command injection vulnerability in the Juniper router integration plugin.

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.65%, higher than 77% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-26T00:00:00.000Z
- Modified: 2026-07-21T19:10:00.107Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pavel-odintsov fastnetmon: up to 1.2.9

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://lorikeetsecurity.com/blog/fastnetmon-cve-2026-48687-juniper-cmd-injection> (exploit, third-party-advisory)
- <https://github.com/pavel-odintsov/fastnetmon> (product)
- <https://github.com/pavel-odintsov/fastnetmon/blob/master/src/juniper_plugin/fastnetmon_juniper.php> (product)

## Sources

- CVE List: [CVE-2026-48687](https://www.cve.org/CVERecord?id=CVE-2026-48687), CVE Terms of Use, modified 2026-05-27
- NVD: [CVE-2026-48687](https://nvd.nist.gov/vuln/detail/CVE-2026-48687), Public domain, modified 2026-07-21

---

Page: https://cve.day/CVE-2026-48687 · Whole record: https://cve.day/CVE-2026-48687.json · Rebuilt by cve.day 2026-11-25T22:59:22.331Z
