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
    • 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-50938

CVE-2022-50938: CONTPAQi AdminPAQ Privilege Escalation

CVE-2022-50938 is an unquoted service path vulnerability in CONTPAQi AdminPAQ 14.0.0 that enables privilege escalation to LocalSystem. This article covers the technical details, affected versions, and mitigation strategies.

Updated: January 22, 2026

CVE-2022-50938 Overview

CVE-2022-50938 is an unquoted service path vulnerability affecting CONTPAQi AdminPAQ 14.0.0. The AppKeyLicenseServer service runs with LocalSystem privileges and contains an unquoted service path, allowing attackers with local access to inject malicious executables that will be executed with elevated SYSTEM privileges during service startup. This vulnerability class (CWE-428) enables local privilege escalation by exploiting how Windows resolves unquoted paths containing spaces.

Critical Impact

Local attackers can achieve SYSTEM-level code execution by placing a malicious executable in a location that Windows will resolve before the legitimate service binary, enabling complete system compromise.

Affected Products

  • CONTPAQi AdminPAQ 14.0.0
  • AppKeyLicenseServer service component

Discovery Timeline

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

Technical Details for CVE-2022-50938

Vulnerability Analysis

The vulnerability exists in the AppKeyLicenseServer service configuration within CONTPAQi AdminPAQ 14.0.0. When the service binary path contains spaces and is not properly enclosed in quotation marks, Windows follows a specific search order to locate the executable. An attacker can exploit this behavior by placing a malicious executable at one of the searched locations that Windows checks before reaching the intended service binary.

The service runs under the LocalSystem account, which has the highest privilege level on a Windows system. When the malicious executable is loaded instead of the legitimate service binary, it inherits these elevated privileges. This enables attackers to execute arbitrary code with full system access, facilitating persistence mechanisms, credential theft, lateral movement, or complete system compromise.

This local attack vector requires the attacker to have write access to one of the path locations that Windows searches before the legitimate binary path. Common exploitation scenarios include placing malicious binaries in locations like C:\Program.exe or within subdirectories of the unquoted path that precede the actual executable location.

Root Cause

The root cause is the absence of quotation marks around the service binary path in the Windows service configuration. When registering the AppKeyLicenseServer service, the installer failed to enclose the ImagePath registry value in quotes. Windows interprets spaces in unquoted paths as argument delimiters, causing it to sequentially attempt to execute binaries at each space-delimited segment until it finds a valid executable.

Attack Vector

This is a local attack vector requiring the attacker to have prior access to the system with sufficient privileges to write files to one of the path locations Windows searches. The attack proceeds as follows:

  1. The attacker identifies the unquoted service path using tools like wmic or by querying the registry
  2. The attacker places a malicious executable at a location Windows will check before the legitimate binary
  3. The malicious binary executes with LocalSystem privileges when the service starts or restarts

The vulnerability can be identified by querying unquoted service paths on the system. For technical exploitation details and proof-of-concept code, refer to Exploit-DB #50690.

Detection Methods for CVE-2022-50938

Indicators of Compromise

  • Unexpected executables appearing in root directories or program paths (e.g., C:\Program.exe, C:\Program Files\CONTPAQi\AppKey.exe)
  • Service startup failures or unexpected behavior from the AppKeyLicenseServer service
  • Unusual processes spawning with SYSTEM privileges during service start operations

Detection Strategies

  • Audit Windows services for unquoted paths using PowerShell or WMIC queries to identify vulnerable configurations
  • Monitor file creation events in directories along the service binary path using endpoint detection solutions
  • Implement SentinelOne's behavioral AI to detect privilege escalation attempts and anomalous SYSTEM-level process execution

Monitoring Recommendations

  • Enable Windows Security Event logging for service control manager events (Event ID 7045 for new service installations)
  • Configure SentinelOne Singularity to alert on suspicious executable placement in common unquoted path exploitation locations
  • Monitor for process execution chains where non-standard binaries spawn with LocalSystem privileges

How to Mitigate CVE-2022-50938

Immediate Actions Required

  • Audit all services on affected systems to identify unquoted service paths using wmic service get name,displayname,pathname,startmode | findstr /i /v "C:\Windows\\" | findstr /i /v """
  • Restrict write permissions on directories within service binary paths to prevent unauthorized executable placement
  • Update CONTPAQi AdminPAQ to the latest version if a patch is available from the CONTPAQi Downloads page

Patch Information

Organizations should check CONTPAQi's official downloads page for updated versions of AdminPAQ that address this vulnerability. The VulnCheck Security Advisory provides additional remediation guidance.

Workarounds

  • Manually fix the service path by adding quotes around the ImagePath registry value at HKLM\SYSTEM\CurrentControlSet\Services\AppKeyLicenseServer
  • Restrict NTFS permissions on the installation directory and parent paths to prevent unprivileged users from writing executables
  • Consider disabling the affected service if not required for business operations until a vendor patch is available
bash
# PowerShell command to fix unquoted service path (run as Administrator)
# First, verify the current service path:
# Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\AppKeyLicenseServer" -Name ImagePath

# Apply quoted path fix (adjust path to match your installation):
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\AppKeyLicenseServer" -Name ImagePath -Value '"C:\Program Files\CONTPAQi\AdminPAQ\AppKeyLicenseServer.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/TechContpaq

  • 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
  • Contpaqi Downloads Resource

  • Exploit-DB #50690

  • VulnCheck Security Advisory
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 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