{"id":"CVE-2026-84194","state":"PUBLISHED","title":"LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname","description":"LibreNMS versions >= 23.10.0 and < 26.2.0 (fixed in 26.4.0) contain an authenticated OS command injection vulnerability in libvirt discovery. When libvirt support is enabled (enable_libvirt=true), the device hostname ($this->getDevice()->hostname) is concatenated into shell commands (ssh, virsh list/dumpxml/domstate) in VminfoLibvirt.php and passed to exec() without escapeshellarg() or argument separation. An authenticated admin can set a crafted device hostname to inject arbitrary OS commands, leading to remote code execution in the discovery worker context.","publishedAt":"2026-09-01T11:33:57.794Z","updatedAt":"2026-09-04T01:52:32.410Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L","source":"VulnCheck"},"assigner":"VulnCheck","products":["librenms librenms"],"affected":[{"vendor":"librenms","product":"librenms","defaultStatus":"unaffected","versions":[{"version":"23.10.0","status":"affected","lessThan":"26.4.0","versionType":"semver"},{"version":"26.4.0","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/librenms/librenms/security/advisories/GHSA-wff2-9gjr-95f3","https://www.vulncheck.com/advisories/librenms-23.10.0-before-26.4.0-os-command-injection-via-hostname"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/84xxx/CVE-2026-84194.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-84194","state":"PUBLISHED","datePublished":"2026-09-01T11:33:57.794Z","dateUpdated":"2026-09-04T01:52:32.410Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-01T10:51:59.729Z"},"containers":{"cna":{"title":"LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname","descriptions":[{"lang":"en","value":"LibreNMS versions >= 23.10.0 and < 26.2.0 (fixed in 26.4.0) contain an authenticated OS command injection vulnerability in libvirt discovery. When libvirt support is enabled (enable_libvirt=true), the device hostname ($this->getDevice()->hostname) is concatenated into shell commands (ssh, virsh list/dumpxml/domstate) in VminfoLibvirt.php and passed to exec() without escapeshellarg() or argument separation. An authenticated admin can set a crafted device hostname to inject arbitrary OS commands, leading to remote code execution in the discovery worker context."}],"affected":[{"vendor":"librenms","product":"librenms","defaultStatus":"unaffected","versions":[{"version":"23.10.0","status":"affected","lessThan":"26.4.0","versionType":"semver"},{"version":"26.4.0","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/librenms/librenms/security/advisories/GHSA-wff2-9gjr-95f3","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-wff2-9gjr-95f3)"},{"url":"https://www.vulncheck.com/advisories/librenms-23.10.0-before-26.4.0-os-command-injection-via-hostname","name":"VulnCheck Advisory: LibreNMS 23.10.0 before 26.4.0 OS Command Injection via Hostname","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"LOW","baseScore":8.6,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-01T11:33:57.794Z"},"datePublic":"2026-08-04T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*","versionStartIncluding":"23.10.0","versionEndExcluding":"26.4.0"}]}]}],"credits":[{"lang":"en","value":"0xCraig","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/librenms/librenms/security/advisories/GHSA-wff2-9gjr-95f3","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-04T01:51:58.940957Z","id":"CVE-2026-84194","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-04T01:52:32.410Z"}}]}}}