CVE-2018-20434Librenms OS Command Injection
LibreNMS arbitrary OS commands execution
Published Apr 24, 2019 · Updated Oct 24, 2026 · Also known as GHSA-62q7-qj6g-gvr7
Key Facts
Patch immediately- CVE-2018-20434 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Librenms, librenms/librenms (composer).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 71% probability of exploitation in the next 30 days.
- No fixed version is listed yet; check the vendor advisory for mitigations.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
71%
Higher than 99.5% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
71/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
4
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
Description
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.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| LibrenmsLibrenms | 1.46 | n/a |
| librenms/librenmscomposer | >= 1.46 | n/a |
Timeline
Publicly disclosed
Apr 24, 2019
Last updated
Oct 24, 2026
Weakness Type
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
- advisorynvd.nist.gov · CVE-2018-20434
- advisoryshells.systems · CVE-2018-20434
- advisorydrive.google.com · 1LcGmOY8x-TG-wnNr-cM_f854kxk0etva
- advisoryGHSA advisory
- exploitshells.systems · CVE-2018-20434
FAQ
Common Questions.
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.…
Affected: Librenms versions 1.46; librenms/librenms (composer) versions >= 1.46. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
No fixed version is listed yet; check the vendor advisory for mitigations.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2018-20434 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo