Security advisory
An issue was discovered in LibreNMS through 1.47. There is a command injection vulnerability in html/includes/graphs/device/collectd.inc.php where user supplied parameters are filtered with the mysqli_escape_real_string function. This function is not the appropriate function to sanitize command arguments as it does not escape a number of command line syntax characters such as ` (backtick), allowing an attacker to inject commands into the variable $rrd_cmd, which gets executed via passthru().
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-10669
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:47 UTC · Revision 1
Source evidence
An issue was discovered in LibreNMS through 1.47. There is a command injection vulnerability in html/includes/graphs/device/collectd.inc.php where user supplied parameters are filtered with the mysqli_escape_real_string function. This function is not the appropriate function to sanitize command arguments as it does not escape a number of command line syntax characters such as ` (backtick), allowing an attacker to inject commands into the variable $rrd_cmd, which gets executed via passthru().
osv:CVE-2019-10669
Complete source record
{
"id": "95b050f5aeb8f073220342f40c0848bcce8e272efffdafb9febdfb68ffcd108c",
"url": "https://osv.dev/vulnerability/CVE-2019-10669",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-10669",
"summary": "An issue was discovered in LibreNMS through 1.47. There is a command injection vulnerability in html/includes/graphs/device/collectd.inc.php where user supplied parameters are filtered with the mysqli_escape_real_string function. This function is not the appropriate function to sanitize command arguments as it does not escape a number of command line syntax characters such as ` (backtick), allowing an attacker to inject commands into the variable $rrd_cmd, which gets executed via passthru().",
"evidence": "osv:CVE-2019-10669",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-10669",
"aliases": [
"CVE-2019-10669"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/librenms/librenms",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "03d6d76908b21612988af0ab112a787863ba183a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:librenms:librenms:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.47"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.47",
"1.46",
"1.45",
"1.44",
"1.43",
"1.42.01",
"1.42",
"1.41",
"1.40",
"1.39",
"1.38",
"1.37",
"1.36",
"1.35",
"1.33",
"1.32",
"1.31.03",
"1.31.02",
"1.31.01",
"1.28",
"1.27",
"1.26",
"1.25",
"1.21",
"201609",
"1.20",
"20160828",
"1.19",
"201608",
"201607",
"201606",
"201605",
"201604",
"201603",
"201602",
"201601",
"201512",
"201511",
"201510",
"201509",
"201508",
"201507",
"201505",
"201506",
"0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-10669.json"
}
}
],
"modified": "2026-10-24T10:30:44.386647560Z",
"provider": "osv",
"references": [
"https://www.darkmatter.ae/xen1thlabs/librenms-command-injection-vulnerability-xl-19-017/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-10669",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 435868,
"published_at": "2019-09-09T13:15:11.543+00:00"
}