Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- High severity, with a CVSS score of 8.5, published 13 April 2026.
- Which products and versions are affected?
- Librenms >= 1.48, < 26.3.0; librenms/librenms (Packagist) < 26.3.0.
- Is there a fix for This vulnerability?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is This vulnerability attacked?
- It is attacked over the network, in a network appliance.
- Am I affected?
- Check whether you run Librenms or librenms/librenms (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
LibreNMS versions prior to 26.3.0 contain an OS command injection vulnerability. The application allows administrative users to configure absolute binary paths for network diagnostic tools (like whois or ping) via the 'Binary Locations' settings. An attacker can modify these paths to point to other system binaries, such as 'wget' or 'bash'. By then invoking the '/ajax/netcmd' endpoint and bypassing the 'ip_or_hostname' input filter, the attacker can download a malicious script and subsequently execute it. This exploit requires administrative privileges but results in full remote code execution as the web server user. The issue is addressed in version 26.3.0.
Affected products
- LibreNMS LibreNMS >= 1.48, < 26.3.0
Timeline
- 2026-03-24: advisory: Original advisory GHSA-pr3g-phhr-h8fh published
- 2026-04-13: disclosed: CVE-2026-6204 published and duplicate advisory GHSA-7549-ggpq-22w8 created
- 2026-04-14: other: Duplicate advisory GHSA-7549-ggpq-22w8 withdrawn in favor of original