# CVE-1999-1217: Microsoft Windows NT privilege escalation via current directory in PATH

Source: https://junglewise.ai/threats/cve-1999-1217-microsoft-windows-nt-privilege-escalation-via-current-directory-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 1997-07-25. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-1999-1217 · Severity: medium · CVSS 4.6 · Published 1997-07-25

A vulnerability in Windows NT allows local users to gain unauthorized privileges by tricking the system into running malicious code. Because the operating system automatically looks for programs in the current folder before searching system folders, a user can place a malicious file with a common name (like a system utility) in a shared folder. When an administrator or another user attempts to run the legitimate program while in that folder, the malicious version is executed instead, potentially compromising the entire system.

Technologies: [Microsoft Windows Nt](https://junglewise.ai/threats/technologies/windows-nt). Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft).

## Quick answers

**Is CVE-1999-1217 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-1999-1217 being exploited in the wild.

**How severe is CVE-1999-1217?** Medium severity, with a CVSS score of 4.6, published 25 July 1997.

**Which products and versions are affected?** Microsoft Windows NT 4.0 and earlier.

**Is there a fix for CVE-1999-1217?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-1999-1217 attacked?** It is attacked with local access, in an operating system.

**Am I affected by CVE-1999-1217?** Check whether you run Microsoft Windows Nt. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability stems from the search order used by the Windows API (specifically CreateProcess) and the command shell when resolving executable names. By default, Windows NT searches the current working directory ('.') before searching the system directories or the directories listed in the PATH environment variable. A local attacker with write access to a directory can place a 'Trojan horse' executable with the same name as a common system utility (e.g., cmd.exe or net.exe). When a higher-privileged user executes that command from the compromised directory, the attacker's code runs with the victim's privileges. This is a design-level issue in how the OS handles executable resolution.

## Affected products

- Microsoft Windows NT 4.0 and earlier

## Timeline

- 1997-07-23: disclosed: Initial discussion on NTBugtraq mailing list
- 1997-07-25: advisory: NVD published date

## References

- [http://marc.info/?l=ntbugtraq&m=87602726319426&w=2](http://marc.info/?l=ntbugtraq&m=87602726319426&w=2)
- [http://marc.info/?l=ntbugtraq&m=87602726319435&w=2](http://marc.info/?l=ntbugtraq&m=87602726319435&w=2)
- [https://exchange.xforce.ibmcloud.com/vulnerabilities/526](https://exchange.xforce.ibmcloud.com/vulnerabilities/526)

## Related threats

- [Microsoft Windows NT OS Kernel privilege escalation via integer underflow](https://junglewise.ai/threats/cve-2026-42980-microsoft-windows-nt-os-kernel-privilege-escalation-via-integer)
- [Microsoft Windows NT OS Kernel privilege escalation via integer underflow](https://junglewise.ai/threats/cve-2026-42916-microsoft-windows-nt-os-kernel-privilege-escalation-via-integer)
- [Microsoft Windows NT denial of service in SMB logon request](https://junglewise.ai/threats/cve-1999-0225-microsoft-windows-nt-denial-of-service-in-smb-logon-request)
- [Microsoft Windows TCP/IP stack denial of service in IP fragmentation](https://junglewise.ai/threats/cve-1999-0258-microsoft-windows-tcp-ip-stack-denial-of-service-in-ip)
- [War FTP buffer overflow allows remote command execution](https://junglewise.ai/threats/cve-1999-0256-war-ftp-buffer-overflow-allows-remote-command-execution)
