CVE-2026-48693 Details
Description
FastNetMon Community Edition through 1.2.9 is vulnerable to a local symlink attack via predictable file paths in /tmp. The statistics file path defaults to '/tmp/fastnetmon.dat' (src/fastnetmon.cpp line 159). The print_screen_contents_into_file() function (src/fastnetmon_logic.cpp line 2186) opens this path with std::ios::trunc without checking for symlinks or using O_NOFOLLOW. Additionally, the chmod() call on line 2190 always operates on cli_stats_file_path regardless of which file_path parameter was passed (a bug that applies wrong permissions), and the umask is set to 0 during daemonization (src/fastnetmon.cpp line 1821), making all created files world-writable. A local attacker can exploit this to overwrite arbitrary files as the FastNetMon process user (typically root).
A local symlink attack vulnerability has been identified in FastNetMon Community Edition versions through 1.2.9. The issue arises from predictable file paths in the /tmp directory, specifically the default statistics file path of /tmp/fastnetmon.dat. The vulnerability is caused by the print_screen_contents_into_file() function, which opens the file with truncation, without checking for symlinks or using O_NOFOLLOW. Additionally, a chmod() call incorrectly applies permissions to the wrong file, and the umask is set to 0 during daemonization, making all created files world-writable. This allows a local attacker to exploit the vulnerability to overwrite arbitrary files as the FastNetMon process user, typically root.
Users are advised to update FastNetMon to a version that addresses this vulnerability. Additionally, the FastNetMon statistics file path can be changed to a directory under /var/lib/fastnetmon/ with appropriate permissions. For systems using systemd, the directory can be bind-mounted into the daemon's namespace.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| pavel-odintsov fastnetmon | <= 1.2.9 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 27, 2026 | Initial Analysis | [email protected] |
| May 26, 2026 | CVE Modified | CISA-ADP |
| May 26, 2026 | New CVE Received | [email protected] |