# CVE-2026-42171: NSIS (Nullsoft Scriptable Install System) 3.06.1 before 3.12 sometimes uses the Low IL temp directory when executing as SYSTEM, allowing lo…

- Severity: High 7.8 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-04-24T21:20:35.525Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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

(As written by CVE List.)

## Affected

- Nullsoft Nullsoft Scriptable Install System: from 3.06.1 before 3.12
- nullsoft nullsoft_scriptable_install_system: from 3.06.1 before 3.12

## References

- <https://nsis.sourceforge.io/Docs/AppendixF.html#v3.12-cl> (release-notes)
- <https://github.com/NSIS-Dev/nsis/commit/8e6f02205d5f22da6c7855dbfe59b2af667330ca> (patch)
- <https://github.com/NSIS-Dev/nsis/blob/7359413009afd4f0fff472d841fc2f2cc0e0a5f8/Source/exehead/util.c#L475-L484> (product)
- <https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-gettempfilename> (product)

## Sources

- CVE List: [CVE-2026-42171](https://www.cve.org/CVERecord?id=CVE-2026-42171), CVE Terms of Use, modified 2026-04-25
- NVD: [CVE-2026-42171](https://nvd.nist.gov/vuln/detail/CVE-2026-42171), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42171 · Whole record: https://cve.day/CVE-2026-42171.json · Rebuilt by cve.day 2026-11-25T22:59:19.587Z
