Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-priv foothold
-
DeliveryPlant payload in c:\Windows\Temp\Low
-
ExploitForce my_GetTempFileName to return 0
-
ExecutionSYSTEM installer falls back to Low IL dir
-
PersistElevated stub consumes attacker content
-
ImpactGain SYSTEM privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V13 - Configuration Search path element control
|
| Exploitation Conditions | Exploitation requires (1) an NSIS-built installer from an affected version (3.06.1 to <3.12) actually running elevated as SYSTEM - this is the UI:R/local trigger, not a remote attack; (2) the attacker to force the fallback path by causing my_GetTempFileName to return 0 (a 'sometimes' condition, per the description, tied to temp-file allocation failure); and (3) local write access to the shared Low Integrity temp directory (c:\Windows\Temp\Low). Limiting factors: the vector is purely local (AV:L), it does not fire in default success paths (the fallback is exceptional, not routine), and it yields nothing unless a SYSTEM-context installer executes - so environments that never run NSIS installers as SYSTEM are not exposed. |
| Impact | The provided CVSS 3.1 base score is 7.8 (High) with vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, reflecting local access with total confidentiality/integrity/availability impact via SYSTEM compromise. However, several signals point to genuinely low real-world urgency: EPSS is 0.01% (0th percentile), CISA SSVC lists Exploitation 'none' and Automatable 'no' (though Technical Impact 'total'), the CVE is not in CISA KEV, and no public exploit is identified. There is also tension in the raw vector: the description states the fault only occurs 'sometimes' and specifically 'if they can cause my_GetTempFileName to return 0,' which implies a race/resource-exhaustion precondition better modeled as AC:H rather than the input's AC:L - verify against the referenced bug report. Net assessment: a legitimate SYSTEM-to-attacker trust-boundary bug worth patching in build pipelines, but not an emergency; it is not automatable, not actively exploited, and requires a local attacker plus an elevated installer run. |
| Exploit ScenarioDerived | A standard (low-privileged) user on a shared Windows host pre-stages malicious files in the world-writable c:\Windows\Temp\Low directory and then arranges conditions (e.g., resource exhaustion) that force my_GetTempFileName to return 0. When an NSIS-built installer subsequently runs as SYSTEM - for instance, a software-deployment or update job - the elevated stub falls back to that shared directory and consumes the attacker's content, escalating the local attacker to SYSTEM. No public exploit is identified at time of analysis, though the referenced bug #1326 describes the triggering condition. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Local privilege escalation in Nullsoft Scriptable Install System (NSIS) 3.06.1 before 3.12 arises because an installer running as SYSTEM can fall back to the world-writable Low Integrity temp directory (c:\Windows\Temp\Low) when temp-file creation fails, letting a local low-privileged attacker plant content that the SYSTEM process trusts and thereby gain SYSTEM privileges. Exploitation requires an elevated NSIS installer to execute (UI:R) and hinges on forcing my_GetTempFileName to return 0, per the referenced bug #1326. There is no public exploit identified at time of analysis and EPSS is negligible (0.01%), consistent with SSVC exploitation status 'none'.
RemediationAI
Vendor-released patch: NSIS 3.12 - upgrade the NSIS toolchain to 3.12 or later and rebuild/redistribute all installers so the fixed exehead stub (which skips the Low IL temp directory when elevated) is embedded; see the v3.12 change log at https://nsis.sourceforge.io/Docs/AppendixF.html#v3.12-cl and the fix commit https://github.com/NSIS-Dev/nsis/commit/8e6f02205d5f22da6c7855dbfe59b2af667330ca . Simply updating the toolchain is not enough for already-shipped products - previously built installers remain vulnerable until recompiled with 3.12+. As a compensating control where immediate rebuild is impossible, avoid running affected NSIS installers under the SYSTEM account (e.g., do not push them as SYSTEM via management tooling), and harden or remove the shared c:\Windows\Temp\Low directory's writability for untrusted local users, noting this may break other low-integrity applications that legitimately rely on that path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NSIS is a widely used script-driven installer authoring toolkit for Windows; the affected component is the installer stub (exehead) shipped inside every generated installer, specifically the temp-directory selection logic in Source/exehead/util.c (my_GetTempFileName) and the startup path in Source/exehead/Main.c. The root cause maps to CWE-427 (Uncontrolled Search Path Element): when the primary temp-file allocation fails, the stub falls back to the shared Low Integrity temp location (c:\Windows\Temp\Low), which is writable by low-integrity/low-privileged processes. If the installer is itself running elevated (as SYSTEM), it then reads or executes attacker-controllable content from that shared directory, crossing a trust boundary. The fix commit (8e6f02205d) adds a UserIsAdminGrpMember() check so an elevated process skips the Low IL directory entirely.
Know when Nullsoft Scriptable Install System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Local attacker needs an unprivileged account (PR:L) and must win a non-default fallback/race to force my_GetTempFileName=0 (AC:H) while an elevated installer runs (UI:R); success yields full SYSTEM compromise (C/I/A:H).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
3DescriptionCVE.org
NSIS (Nullsoft Scriptable Install System) 3.06.1 before 3.12 sometimes uses the Low IL temp directory when executing as SYSTEM, allowing local attackers to gain privileges (if they can cause my_GetTempFileName to return 0, as shown in the references).
Executive ViewAI
NSIS installer platform versions 3.06.1-3.11 enable local privilege escalation to SYSTEM access through failed temp file handling, affecting any organization performing software deployment via NSIS. This vulnerability creates a risk window during patches and updates when installers run with elevated privileges.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-25637
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB