Nagios Core before 4.5.13 and Nagios XI before 2026R1.5 are vulnerable to authenticated remote code execution via custom-variable macro injection through the Nagios Remote Data Processor (NRDP). When a custom variable defined on a host, service, or contact is referenced in a shell-executed command line, an authenticated attacker with NRDP access can inject OS commands through the macro value. Exploitation requires a non-default configuration in which a custom variable is defined and referenced in a shell-executed command.
{
"binaries": [
{
"binary_version": "4.3.4-3ubuntu0.1",
"binary_name": "nagios4"
},
{
"binary_version": "4.3.4-3ubuntu0.1",
"binary_name": "nagios4-cgi"
},
{
"binary_version": "4.3.4-3ubuntu0.1",
"binary_name": "nagios4-common"
},
{
"binary_version": "4.3.4-3ubuntu0.1",
"binary_name": "nagios4-core"
}
]
}
{
"binaries": [
{
"binary_version": "4.4.6-4ubuntu0.22.04.1",
"binary_name": "nagios4"
},
{
"binary_version": "4.4.6-4ubuntu0.22.04.1",
"binary_name": "nagios4-cgi"
},
{
"binary_version": "4.4.6-4ubuntu0.22.04.1",
"binary_name": "nagios4-common"
},
{
"binary_version": "4.4.6-4ubuntu0.22.04.1",
"binary_name": "nagios4-core"
}
]
}
{
"binaries": [
{
"binary_version": "4.4.6-4ubuntu0.24.04.1",
"binary_name": "nagios4"
},
{
"binary_version": "4.4.6-4ubuntu0.24.04.1",
"binary_name": "nagios4-cgi"
},
{
"binary_version": "4.4.6-4ubuntu0.24.04.1",
"binary_name": "nagios4-common"
},
{
"binary_version": "4.4.6-4ubuntu0.24.04.1",
"binary_name": "nagios4-core"
}
]
}
{
"binaries": [
{
"binary_version": "4.4.6-4.1ubuntu2",
"binary_name": "nagios4"
},
{
"binary_version": "4.4.6-4.1ubuntu2",
"binary_name": "nagios4-cgi"
},
{
"binary_version": "4.4.6-4.1ubuntu2",
"binary_name": "nagios4-common"
},
{
"binary_version": "4.4.6-4.1ubuntu2",
"binary_name": "nagios4-core"
}
]
}