CVE-2021-42563 in Ni Service Locator and 1 more product
There is an Unquoted Service Path in NI Service Locator (nisvcloc.exe) in versions prior to 18.0 on Windows. This may allow an authorized local user to insert arbitrary code into the unquoted service path and escalate privileges.
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Ni | Ni Service Locator | < 18.0.0.49152 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
There is an Unquoted Service Path in NI Service Locator (nisvcloc.exe) in versions prior to 18.0 on Windows. This may allow an authorized local user to insert arbitrary code into the unquoted service path and escalate privileges.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-42563 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-073380-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-11-12 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-428: CWE-428
Analysis AI-written, not human-reviewed
An unquoted service path vulnerability exists in NI Service Locator (nisvcloc.exe) in versions prior to 18.0 on Windows, which could allow a local user to escalate privileges by inserting arbitrary code.
The vulnerability arises from the service path not being enclosed in quotes, allowing an attacker to place a malicious executable in a directory that is part of the service path, leading to privilege escalation.
Questions
What is CVE-2021-42563?
An unquoted service path vulnerability exists in NI Service Locator (nisvcloc.exe) in versions prior to 18.0 on Windows, which could allow a local user to escalate privileges by inserting arbitrary code.
What is the CVSS score for CVE-2021-42563?
CVE-2021-42563 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2021-42563 actively exploited?
No confirmed active exploitation of CVE-2021-42563 as of 2026-09-25.
How do I remediate CVE-2021-42563?
Priority: HIGH. Advisory: https://www.ni.com/en-us/support/documentation/supplemental/21/unquoted-service-path-in-ni-service-locator.html PSIRT: [email protected]
What systems are affected by CVE-2021-42563?
CVE-2021-42563 affects Ni Ni Service Locator.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ni","product":"Ni Service Locator","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.