Live threats

All CVEs / Librenms

CVE-2018-20434Librenms

Critical 9.8 No auth neededHigh EPSS

Priority
81
CVSS 3.0
9.8
EPSS
71.5%
probability of exploitation in 30 days · percentile 100
Auth required
No
Published
Apr 24, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to html/pages/addhost.inc.php during creation of a new device, and then making a /ajax_output.php?id=capture&format=text&type=snmpwalk&hostname=localhost request that triggers html/includes/output/capture.inc.php command mishandling.

Original NVD text.

What to do

  1. Apply the vendor's security update for Librenms.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist librenms/librenms 1.46 no fixed version —

Per OSV / GitHub Advisories (GHSA-62q7-qj6g-gvr7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
librenmslibrenms1.46

Official sources

References

Links published by the sources. Open them with care.