High
Security advisory
A privilege escalation vulnerability was found in nagios 4.2.x that occurs in daemon-init.in when creating necessary files and insecurely changing the ownership afterwards. It's possible for the local attacker to create symbolic links before the files are to be created and possibly escalating the privileges with the ownership change.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2016-8641
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 09:40 UTC · Revision 1
Source evidence
A privilege escalation vulnerability was found in nagios 4.2.x that occurs in daemon-init.in when creating necessary files and insecurely changing the ownership afterwards. It's possible for the local attacker to create symbolic links before the files are to be created and possibly escalating the privileges with the ownership change.
osv:CVE-2016-8641
Complete source record
{
"id": "2d91a0a5fa56dab625a62ede96d0aa5eed93992dec7cb2a703e386894c7d78f8",
"url": "https://osv.dev/vulnerability/CVE-2016-8641",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2016-8641",
"summary": "A privilege escalation vulnerability was found in nagios 4.2.x that occurs in daemon-init.in when creating necessary files and insecurely changing the ownership afterwards. It's possible for the local attacker to create symbolic links before the files are to be created and possibly escalating the privileges with the ownership change.",
"evidence": "osv:CVE-2016-8641",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2016-8641",
"aliases": [
"CVE-2016-8641"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nagiosenterprises/nagioscore",
"type": "GIT",
"events": [
{
"introduced": "b9751c21db79353ab95d6d4401b129a048657281"
},
{
"last_affected": "2f96de4aa8ae15a97f5394a636437dbab419bf80"
},
{
"fixed": "f2ed227673d3b2da643eb5cad26b2d87674f28c1"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:nagios:nagios:4.2.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.0"
},
{
"last_affected": "4.2.0"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nagios:nagios:4.2.1:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.1"
},
{
"last_affected": "4.2.1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nagios:nagios:4.2.3:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.3"
},
{
"last_affected": "4.2.3"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:nagios:nagios:4.2.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.2"
},
{
"last_affected": "4.2.2"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "f2ed227673d3b2da643eb5cad26b2d87674f28c1"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"4.2.0",
"4.2.1",
"4.2.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8641.json"
}
}
],
"modified": "2026-10-20T10:47:31.052404051Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/201702-26",
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8641",
"https://github.com/NagiosEnterprises/nagioscore/commit/f2ed227673d3b2da643eb5cad26b2d87674f28c1.patch",
"https://www.exploit-db.com/exploits/40774/"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2016-8641",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 379451,
"published_at": "2018-08-01T14:29:00.253+00:00"
}