ZeroHour

CVE-2026-84190

moderate

Authenticated command injection RCE in LibreNMS before 26.5.0

CVSS 4.0
8.7 high
EPSS
<1%p47
Published
()
Modified
AI analysis

LibreNMS versions before 26.5.0 pass the configured path to the snmpget binary into shell_exec() in the AboutController without validation, a command injection flaw (CWE-77). An authenticated administrator can change the snmpget configuration value to point at a malicious executable and then trigger execution simply by loading the /about endpoint. A successful attacker gains remote code execution on the LibreNMS server under the web server account, with high impact on confidentiality, integrity, and availability per the CVSS 4.0 score of 8.7. Any LibreNMS deployment running a version prior to 26.5.0 is affected, though exploitation requires valid administrator credentials to the web UI. No public proof-of-concept exists, the flaw is not in CISA's KEV, and EPSS puts 30-day exploitation probability at about 0.6%, so no confirmed exploitation is known.

What to do: Upgrade to LibreNMS 26.5.0 or later, which validates the snmpget configuration before it reaches shell_exec(). Until then, restrict administrator access to the web UI (MFA, credential hygiene, VPN/bastion for admin logins), review the current snmpget setting for tampering, and monitor web access logs for requests to /about followed by unexpected process execution as the web server user.

Affected
LibreNMSall versions before 26.5.0 (fixed in 26.5.0)
Estimated exposure
moderate≈5,000–20,000 self-hosted deployments, with internet-exposed instances likely in the low thousands — LibreNMS is a widely used self-hosted open-source network monitor popular with ISPs, universities, and hosting operators, but no official install counts exist, so the estimate is inferred from its community size and the typically low…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

LibreNMS versions before 26.5.0 contain a remote code execution vulnerability in the AboutController where the snmpget configuration parameter is passed to shell_exec() without proper validation. An authenticated administrator can modify the snmpget configuration to point to a malicious executable file and trigger code execution by accessing the /about endpoint.

Weakness
CWE-77
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.