Skip to main content
No exploitation reportedFix available

CVE-2026-48687

No exploitation reported by the sources we read.

  • Published2026-05-26
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-2616:16CVE publishedNVD

Versions per branch

NVD
Pavel-odintsov fastnetmon
BranchAffectedFixed in
1.2≤ 1.2.9no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • fastnetmonUbuntu:Pro:26.04:LTSall versions · fixed in 1.2.8+git20250911-2ubuntu0.1~esm1
  • fastnetmonUbuntu:Pro:24.04:LTSall versions · fixed in 1.2.6-1ubuntu0.1~esm1
  • fastnetmonUbuntu:Pro:20.04:LTSall versions · fixed in 1.1.4-1ubuntu0.1~esm1
  • fastnetmonUbuntu:26.10all versions · no fixed version listed
  • fastnetmonUbuntu:25.10all versions · no fixed version listed
  • fastnetmonDebian:14all versions · fixed in 1.2.9-1
  • fastnetmonDebian:13all versions · fixed in 1.2.9-0+deb13u1
  • fastnetmonDebian:12all versions · no fixed version listed

Vendor advisories

  • CVE-2026-48687 Red Hat Product Security

    fastnetmon: OS command injection in the Juniper router integration plugin

Full record on NVD

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2026-05-26
Last modified
2026-07-21
NVD status
Modified
GitHub advisory
GHSA-qx97-6jw5-h44w

Frequently asked questions

What is CVE-2026-48687?

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.

Is CVE-2026-48687 actively exploited?

Active exploitation of CVE-2026-48687 has not been confirmed. Its EPSS score was 1.6% on 2026-12-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-48687?

CVE-2026-48687 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running fastnetmon? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record