BreachSpiderVerified, not vibes

CVE-2016-8641 in Nagios

High 7.8 Public exploit reported

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.07.8
EPSS1.1%
EPSS percentile66th
FixUnknown

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Nagios Nagios 4.2.0 4.2.1 4.2.2 4.2.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2016-8641
BreachSpider IDBS-2018-GLOBAL-158670-H
CVSS vectorCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2018-08-01
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-59: Improper Link Resolution Before File Access

Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59

CAPEC-76 Manipulating Web Input to File System Calls via CWE-59

CAPEC-132 Symlink Attack via CWE-59

CAPEC-17 Using Malicious Files via CWE-59

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A privilege escalation vulnerability in Nagios 4.2.x allows local attackers to create symbolic links and escalate privileges by manipulating file ownership changes.

The vulnerability exists in the daemon-init.in script where files are created and their ownership is changed. An attacker can create symbolic links to target files before the ownership change, potentially escalating their privileges.

Questions

What is CVE-2016-8641?

A privilege escalation vulnerability in Nagios 4.2.x allows local attackers to create symbolic links and escalate privileges by manipulating file ownership changes.

What is the CVSS score for CVE-2016-8641?

CVE-2016-8641 has CVSS 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.1%.

Is CVE-2016-8641 actively exploited?

Public exploit available for CVE-2016-8641. Exploitation risk elevated.

How do I remediate CVE-2016-8641?

Priority: HIGH.

What systems are affected by CVE-2016-8641?

CVE-2016-8641 affects Nagios Nagios.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nagios","product":"Nagios","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.