OS Command Injection in LibreNMS - CVE-2026-6204

 

OS Command Injection in LibreNMS - CVE-2026-6204

Published: April 24, 2026


Vulnerability identifier: #VU127456
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-6204
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper neutralization of special elements used in an os command in the binary path settings and /ajax/netcmd endpoint when handling crafted network tool configuration and requests. A remote user can modify configured binary paths and send a crafted request to execute arbitrary code.

Exploitation requires administrative access to the application and the ability for the server to reach a remote host to download a payload.


Affected software

LibreNMS

How to mitigate CVE-2026-6204

Install security update from vendor's website.

LibreNMS - update to 26.3.0

External References

Related Security Bulletins