CVE-2018-1000161

nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a Directory Traversal vulnerability in NSE script http-fetch that can result in file overwrite as the user is running it. This attack appears to be exploitable via a victim that runs NSE script http-fetch against a malicious web site. This vulnerability appears to have been fixed in 7.7.

Published: 2018-04-18 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-1000161 is rated Moderate Risk (44.5/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.04%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2018-1000161

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.18% 1.04% +0.86%
2 2025-03-30 0.67% 0.18% -0.49%
3 2025-03-29 0.67%

Full EPSS history (7 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-1000161

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.7 3.0 MEDIUM
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 3.6 [email protected]
3.5 2.0 LOW
AV:N/AC:M/Au:S/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
6.8 2.9 [email protected]

Weakness enumeration for CVE-2018-1000161

OS Trackers for CVE-2018-1000161

vendor priority summary link
debian not yet assigned CVE-2018-1000161 not yet assigned priority: Debian including 1 source packages (nmap), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-1000161
redhat medium https://access.redhat.com/security/cve/CVE-2018-1000161
suse medium CVE-2018-1000161 severity moderate: SUSE including 1 source package names (nmap), 8 product×package rows across 8 product lines (SUSE Linux Enterprise Server 11 SP1 for Teradata, SUSE Linux Enterprise Server 11 SP3 LTSS, … (8 product lines)): Known Not Affected 8. https://www.suse.com/security/cve/CVE-2018-1000161/
ubuntu low CVE-2018-1000161 low priority: Ubuntu including 1 source packages (nmap), 20 status rows across 20 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 12, ignored 5, needed 2, released 1. https://ubuntu.com/security/CVE-2018-1000161

Affected software / configurations for CVE-2018-1000161

Vendor Product Version Raw CPE
nmap nmap 6.49 cpe:2.3:a:nmap:nmap:6.49:beta6:*:*:*:*:*:*
nmap nmap 7.00 cpe:2.3:a:nmap:nmap:7.00:*:*:*:*:*:*:*
nmap nmap 7.01 cpe:2.3:a:nmap:nmap:7.01:*:*:*:*:*:*:*
nmap nmap 7.10 cpe:2.3:a:nmap:nmap:7.10:*:*:*:*:*:*:*
nmap nmap 7.11 cpe:2.3:a:nmap:nmap:7.11:*:*:*:*:*:*:*
nmap nmap 7.12 cpe:2.3:a:nmap:nmap:7.12:*:*:*:*:*:*:*
nmap nmap 7.25 cpe:2.3:a:nmap:nmap:7.25:beta1:*:*:*:*:*:*
nmap nmap 7.25 cpe:2.3:a:nmap:nmap:7.25:beta2:*:*:*:*:*:*
nmap nmap 7.30 cpe:2.3:a:nmap:nmap:7.30:*:*:*:*:*:*:*
nmap nmap 7.31 cpe:2.3:a:nmap:nmap:7.31:*:*:*:*:*:*:*
nmap nmap 7.40 cpe:2.3:a:nmap:nmap:7.40:*:*:*:*:*:*:*
nmap nmap 7.50 cpe:2.3:a:nmap:nmap:7.50:*:*:*:*:*:*:*
nmap nmap 7.60 cpe:2.3:a:nmap:nmap:7.60:*:*:*:*:*:*:*

References for CVE-2018-1000161

URL Tags
https://nmap.org/changelog.html Vendor Advisory
cvelogic Threat Intelligence