CVE-2026-42171: Nullsoft Scriptable Install System · Uncontrolled Search Path Element
Affects Nullsoft Scriptable Install SystemSource CVE Database V5
Not known to be exploited · CVSS 7.8 High : upgrade to 3.12 soon.
Data as of 29 Oct 2026, 19:04 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.12
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade Nullsoft Scriptable Install System to 3.12.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NullsoftNullsoft Scriptable Install System | Affected
| Fixed in
|
GitHubnsis-dev/nsispkg:github/nsis-dev/nsisOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, restrict local access to trusted users only and consider running installers with the least privileges necessary to reduce risk.
Description
CVE-2026-42171 is a high-severity vulnerability in Nullsoft Scriptable Install System (NSIS) versions before 3.12, specifically 3.06.1. The issue arises because NSIS sometimes uses the Low Integrity Level (IL) temporary directory when running as SYSTEM. This behavior can allow a local attacker to gain elevated privileges if they can manipulate the function my_GetTempFileName to return 0. The vulnerability is categorized as CWE-427, indicating an uncontrolled search path element.
References
- nsis.sourceforge.io/Docs/AppendixF.html (opens in a new tab)
- github.com/NSIS-Dev/nsis/commit/8e6f02205d5f22da6c7855dbfe59b2af667330ca (opens in a new tab)
- github.com/NSIS-Dev/nsis/blob/7359413009afd4f0fff472d841fc2f2cc0e0a5f8/Source/exehead/util.c (opens in a new tab)
- learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-gettempfilename (opens in a new tab)