Home / Librenms / Librenms / CVE-2018-20434
CVE-2018-20434: is it exploited, and which versions of Librenms are affected and fixed?
CVE-2018-20434 is an OS command injection vulnerability in Librenms. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: librenms 1.46 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:23 UTC.
What is CVE-2018-20434?
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.
From the CVE record by mitre, last updated August 5, 2024, 11:58 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | librenms/librenms | 1.46 | none listed | GHSA-62q7-qj6g-gvr7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 24, 2024. Summary: LibreNMS arbitrary OS commands execution.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| librenms | librenms | 1.46 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:52 UTC.
How severe is CVE-2018-20434?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-20434 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 71.5% probability of exploitation activity in the next 30 days, percentile 99.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- https://gist.github.com/mhaskar/516df57aafd8c6e3a1d70765075d372d x_refsource_MISC
- https://drive.google.com/file/d/1LcGmOY8x-TG-wnNr-cM_f854kxk0etva/view?usp=sharing x_refsource_MISC
- https://shells.systems/librenms-v1-46-remote-code-execution-cve-2018-20434/ x_refsource_MISC
- http://packetstormsecurity.com/files/153188/LibreNMS-addhost-Command-Injection.html x_refsource_MISC
- http://packetstormsecurity.com/files/153448/LibreNMS-1.46-addhost-Remote-Code-Execution.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 24, 2018
- Published
- April 24, 2019, 20:05 UTC
- CVE record updated
- August 5, 2024, 11:58 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:52 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:23 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Librenms?
- Oct 12, 2026CVE-2026-109357 librenms: LDAP injection
- Oct 12, 2026CVE-2026-109356 librenms: missing authorization
- Oct 12, 2026CVE-2026-109355 librenms: cross-site scripting (XSS)
- Oct 12, 2026CVE-2026-109354 librenms: path traversal (reading or writing files outside the intended folder)
- Oct 12, 2026CVE-2026-109353 librenms: SQL injection
- Oct 12, 2026CVE-2026-109352 librenms: cross-site scripting (XSS)
- Oct 11, 2026CVE-2026-108715 librenms: authorization bypass through a user-controlled key (IDOR)
- Sep 13, 2026CVE-2020-15875 LibreNMS: SQL injection
Questions about CVE-2018-20434
Is CVE-2018-20434 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 71.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Librenms are affected by CVE-2018-20434?
librenms 1.46, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2018-20434?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2018-20434?
Critical (9.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-20434?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.