NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
CRITICAL severity

CVE-2018-20434 — librenms

CRITICAL

CVE-2018-20434 is a critical-severity (CVSS 9.8) OS Command Injection vulnerability in librenms/librenms. 7 public exploit or proof-of-concept references are indexed, so weaponization risk is real. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.

LibreNMS arbitrary OS commands execution

Also known asGHSA-62q7-qj6g-gvr7
Published
Updated
Affected
1 pkg
Patched
See advisory
Exploits
7 known
Exploitation data as of Nov 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
71.5%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs99th percentile — riskier than 99% of all scored CVEsHighest risk
64.8%67.5%70.3%73.0%66.3%71.5%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
🐘librenms/librenms

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

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 Packages

1 total
EcosystemPackageVulnerable rangeFix
🐘Packagistlibrenms/librenmsall versionsNo fix

Affected Products

1 product · 1 configurations
Application
librenmslibrenms
1 version
1.46
Exploits & PoCs
7

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-47044webappsphp✓ Verified

LibreNMS 1.46 - 'addhost' Remote Code Execution

by Askar · Jun 28, 2019

EDB-46970remotelinux✓ Verified

LibreNMS - addhost Command Injection (Metasploit)

by Metasploit · Jun 5, 2019

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for librenms/librenms, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Remediation status

    The records we use list no patched version of librenms/librenms for CVE-2018-20434. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.

  3. Mitigate without a patch

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked 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.inc.php command mishandling.
O3 Security · Impact-Aware SCA

Is CVE-2018-20434 in your dependencies?

Find it across Packagist, including transitive dependencies.

CVE-2018-20434: librenms (Critical 9.8)