CVEfocus › CVE database › CVE-2026-48687

CVE-2026-48687

CVSS 8.1 HighEPSS 2.7% (higher than 86% of CVEs)Published 2026-05-26Updated 2026-05-27Assigner: mitre

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.

CWE-78

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10fastnetmonFix pendingUBUNTU-CVE-2026-48687
Ubuntu 26.04fastnetmonFix pending1.2.8+git20250911-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-48687
Ubuntu 25.10fastnetmonWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-48687
Ubuntu 24.04fastnetmonFix pending1.2.6-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-48687
Ubuntu 20.04fastnetmonFix pending1.1.4-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-48687
Debian 14fastnetmonFixed1.2.9-1DEBIAN-CVE-2026-48687
Debian 13fastnetmonFixed1.2.9-0+deb13u1DEBIAN-CVE-2026-48687
Debian 12fastnetmonWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-48687

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.