Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-50918

CVE-2022-50918: VIVE Runtime Service Privilege Escalation

CVE-2022-50918 is an unquoted service path vulnerability in VIVE Runtime Service 1.0.0.4 that enables local attackers to execute code with system privileges. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2022-50918 Overview

CVE-2022-50918 is an unquoted service path vulnerability affecting VIVE Runtime Service version 1.0.0.4. This privilege escalation flaw allows local users to execute arbitrary code with elevated system privileges by exploiting the improper handling of the service binary path. Attackers can place malicious executables in specific system directories, which are then executed with LocalSystem privileges when the vulnerable service starts.

Critical Impact

Local attackers with limited privileges can achieve LocalSystem access, enabling complete system compromise, persistence, and lateral movement within affected environments.

Affected Products

  • VIVE Runtime Service 1.0.0.4
  • HTC VIVE VR Software Suite containing vulnerable ViveAgentService
  • Systems with VIVE Runtime Service installed in default paths with spaces

Discovery Timeline

  • 2026-01-13 - CVE CVE-2022-50918 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2022-50918

Vulnerability Analysis

The vulnerability exists due to an unquoted service path in the VIVE Runtime Service (ViveAgentService). When Windows services are configured with executable paths containing spaces that are not enclosed in quotation marks, the operating system attempts to parse the path ambiguously. This parsing behavior allows an attacker to place a strategically named executable in a location that Windows will execute before reaching the intended service binary.

For example, if the service path is configured as C:\Program Files\HTC\VIVE\Runtime\Service.exe, Windows will attempt to execute files in the following order: C:\Program.exe, C:\Program Files\HTC\VIVE\Runtime\Service.exe. An attacker with write access to C:\ can place a malicious Program.exe that will be executed with the service's privileges—typically LocalSystem.

Root Cause

The root cause is classified as CWE-428 (Unquoted Search Path or Element). The VIVE Runtime Service installer failed to properly quote the service binary path during registration with the Windows Service Control Manager. This configuration oversight leaves the service vulnerable to path interception attacks when the installation path contains spaces.

Attack Vector

The attack requires local access to the system with sufficient privileges to write files to directories that appear in the unquoted path resolution order. The attacker creates a malicious executable with a name that matches an intermediate path segment (such as Program.exe in C:\ or other writable locations along the path). When the VIVE Runtime Service is started or restarted, Windows executes the attacker's malicious binary with LocalSystem privileges, providing complete system access.

The vulnerability is exploitable through local access vectors with low attack complexity and requires low privileges. No user interaction is necessary for exploitation once the malicious executable is positioned.

Detection Methods for CVE-2022-50918

Indicators of Compromise

  • Unexpected executable files named Program.exe, HTC.exe, or similar in root directories like C:\ or C:\Program Files\
  • Anomalous process spawning from service contexts, particularly children of services.exe with unusual binaries
  • Service startup failures or unexpected behavior from VIVE Runtime Service
  • Evidence of privilege escalation attempts in Windows Security Event logs

Detection Strategies

  • Query Windows services for unquoted paths using PowerShell: Get-WmiObject win32_service | Where-Object {$_.PathName -notlike '"*"*' -and $_.PathName -like '* *'}
  • Monitor file system changes in root directories and common interception points for new executable files
  • Implement application whitelisting to block execution of unauthorized binaries in system directories
  • Use endpoint detection and response (EDR) solutions to identify service-based privilege escalation attempts

Monitoring Recommendations

  • Enable Windows Security Event logging for service installation and modification (Event IDs 4697, 7045)
  • Configure file integrity monitoring on directories within service paths containing spaces
  • Establish baseline of legitimate services and alert on new service registrations with unquoted paths
  • Monitor for process creation events where parent process is a service and child binary is in an unexpected location

How to Mitigate CVE-2022-50918

Immediate Actions Required

  • Audit all installed services for unquoted paths using wmic service get name,displayname,pathname,startmode | findstr /i "auto" | findstr /i /v "c:\windows\\" | findstr /i /v """
  • Manually quote the service path in the Windows Registry under HKLM\SYSTEM\CurrentControlSet\Services\ViveAgentService
  • Remove any suspicious executables from directories that could be used for path interception
  • Restrict write permissions on root directories and C:\Program Files to administrators only
  • Consider disabling the VIVE Runtime Service if not actively required

Patch Information

Users should check the Vive Developer Resources for updated software versions that address this vulnerability. For detailed technical information, refer to the VulnCheck Advisory for Vive Agent Service. Additional exploit details are documented in Exploit-DB #50824.

Workarounds

  • Manually fix the unquoted path by modifying the registry key HKLM\SYSTEM\CurrentControlSet\Services\ViveAgentService\ImagePath to include quotation marks around the path
  • Implement application control policies to prevent execution of binaries from non-standard locations
  • Use NTFS permissions to restrict write access to directories that appear in the service path resolution order
  • Deploy Group Policy settings to audit and remediate unquoted service paths across the environment
bash
# Registry fix example - Run as Administrator in PowerShell
# First, verify the current unquoted path
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\ViveAgentService" -Name ImagePath

# Apply the quoted path fix
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\ViveAgentService" -Name ImagePath -Value '"C:\Program Files\HTC\VIVE\Runtime\ViveAgentService.exe"'

# Verify the fix was applied
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\ViveAgentService" -Name ImagePath

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechVive Runtime Service

  • SeverityHIGH

  • CVSS Score8.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-428
  • Technical References
  • Vive Developer Resources

  • Exploit-DB #50824

  • Vive Official Website

  • VulnCheck Advisory for Vive Agent Service
  • Latest CVEs
  • CVE-2025-49454: TinySalt Path Traversal Vulnerability

  • CVE-2025-48261: MultiVendorX Information Disclosure Flaw

  • CVE-2025-32119: CardGate WooCommerce SQL Injection Flaw

  • CVE-2025-26879: s2Member Plugin Reflected XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English