The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-50917

CVE-2022-50917: ProtonVPN Privilege Escalation Flaw

CVE-2022-50917 is a privilege escalation vulnerability in ProtonVPN 1.26.0 caused by an unquoted service path in WireGuard configuration. This article covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2022-50917 Overview

CVE-2022-50917 is an unquoted service path vulnerability affecting ProtonVPN version 1.26.0. The vulnerability exists in the WireGuard service configuration component, where an improper service path configuration allows local attackers to potentially execute arbitrary code with elevated privileges. This vulnerability type (CWE-428) occurs when Windows services are configured with executable paths containing spaces that are not enclosed in quotation marks, enabling attackers to place malicious executables in strategic file system locations.

Critical Impact

Local privilege escalation through service path hijacking allows attackers with low-privilege access to gain SYSTEM-level code execution during service startup or restart operations.

Affected Products

  • ProtonVPN version 1.26.0
  • ProtonVPN WireGuard Service Component
  • Windows installations with default service configurations

Discovery Timeline

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

Technical Details for CVE-2022-50917

Vulnerability Analysis

The unquoted service path vulnerability in ProtonVPN 1.26.0 stems from improper configuration of the WireGuard service executable path in the Windows Service Control Manager. When a service path contains spaces and is not properly quoted, Windows parses the path in a specific order, attempting to execute files at each space boundary before the full intended path.

For example, if the service path is configured as C:\Program Files\ProtonVPN\WireGuard\Service.exe, Windows will attempt to execute in this order:

  1. C:\Program.exe
  2. C:\Program Files\ProtonVPN\WireGuard\Service.exe

This parsing behavior creates an opportunity for attackers to plant malicious executables at predictable locations in the file system. Since Windows services typically run with SYSTEM privileges, successful exploitation grants the attacker the highest level of system access.

Root Cause

The root cause of CVE-2022-50917 is the failure to enclose the WireGuard service executable path in double quotation marks during service registration. This configuration oversight in ProtonVPN 1.26.0's installer or service registration routine leaves the service path vulnerable to path interception attacks. The CWE-428 (Unquoted Search Path or Element) classification highlights the fundamental issue: software that uses unquoted paths containing spaces creates exploitable conditions in the Windows service execution model.

Attack Vector

The attack vector for this vulnerability is local, requiring the attacker to have low-privilege access to the target system. The exploitation process involves:

  1. Reconnaissance: The attacker identifies the unquoted service path by querying the Windows Service Control Manager or registry
  2. Payload Placement: A malicious executable is placed in a location that Windows will attempt to execute before the legitimate service binary (e.g., C:\Program.exe or a location within C:\Program Files\ directory structure)
  3. Privilege Escalation: When the ProtonVPN WireGuard service starts or restarts, Windows executes the malicious payload with SYSTEM privileges

The attacker requires write access to one of the candidate directories in the path parsing sequence. While C:\Program Files\ is typically protected, misconfigurations or writable parent directories can enable this attack.

Detection Methods for CVE-2022-50917

Indicators of Compromise

  • Unexpected executable files in the root of C:\ drive (e.g., Program.exe, ProtonVPN.exe)
  • Unauthorized executables in C:\Program Files\ or C:\Program Files\ProtonVPN\ directories
  • Anomalous service startup behavior or unexpected child processes spawned by the WireGuard service
  • Registry modifications to the ProtonVPN WireGuard service ImagePath value

Detection Strategies

  • Monitor Windows Event Logs for service control events (Event IDs 7034, 7035, 7036) related to ProtonVPN services
  • Implement file integrity monitoring on directories within the ProtonVPN service path
  • Query Windows services for unquoted paths using PowerShell: Get-WmiObject win32_service | Where-Object {$_.PathName -notlike '"*"' -and $_.PathName -like '* *'}
  • Deploy endpoint detection rules to alert on executable creation in unexpected locations along the service path

Monitoring Recommendations

  • Enable SentinelOne's behavioral AI to detect privilege escalation attempts through service path hijacking
  • Configure alerts for new executable file creation in C:\Program Files\ProtonVPN\ and parent directories
  • Monitor process creation events where parent process is the WireGuard service and child process is unexpected
  • Implement regular auditing of Windows service configurations to identify unquoted paths

How to Mitigate CVE-2022-50917

Immediate Actions Required

  • Audit the ProtonVPN WireGuard service path configuration to confirm vulnerability status
  • Update ProtonVPN to the latest available version that addresses this vulnerability
  • Manually correct the service path by adding quotation marks around the ImagePath registry value
  • Restrict write permissions on directories within the vulnerable service path to prevent payload placement

Patch Information

Users should update ProtonVPN to a version newer than 1.26.0 that properly quotes the WireGuard service path. Visit the ProtonVPN Official Site for the latest security updates and release notes. Additional technical details and exploit information can be found at Exploit-DB #50837 and the VulnCheck Advisory for ProtonVPN.

Workarounds

  • Manually fix the service path by modifying the registry ImagePath value to include quotation marks
  • Implement application whitelisting to prevent unauthorized executable execution
  • Remove write permissions from all users on directories within the service path hierarchy
  • Monitor and alert on any executable creation in vulnerable path locations until patching is complete
bash
# Registry fix to quote the service path (run as Administrator)
# First, query the current service path
sc qc "ProtonVPN WireGuard"

# Modify the registry to add quotation marks
# HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[ServiceName]\ImagePath
# Change: C:\Program Files\ProtonVPN\WireGuard\Service.exe
# To: "C:\Program Files\ProtonVPN\WireGuard\Service.exe"

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechProtonvpn

  • 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
  • ProtonVPN Official Site

  • Exploit-DB #50837

  • VulnCheck Advisory for ProtonVPN
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF 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