CVE-2018-20434: LibreNMS 1.46 allows remote attackers to execute arbitrary OS commands by using the $_POST['community'] parameter to html/pages/addhost.i…

CVE-2018-20434 affects 1 listed version of LibreNMS in the Dawnsentry catalogue.

9.8CVSS critical
Attack tool publicexploitation
71%EPSS (next 30 days)
24 April 2019published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

LibreNMS

1 of 107 listed versions are affected. No fixed release is named. The newest release, 26.11.0, is not affected.

1.46

What it is

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by MITRE on 24 April 2019. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2018-20434 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.