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-50915

CVE-2022-50915: PTPublisher Privilege Escalation Flaw

CVE-2022-50915 is an unquoted service path vulnerability in PTPublisher 2.3.4 that enables local attackers to execute arbitrary code with elevated privileges. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2022-50915 Overview

PTPublisher 2.3.4 contains an unquoted service path vulnerability in the PTProtect service that allows local attackers to potentially execute arbitrary code with elevated privileges. Attackers can exploit the unquoted path in C:\Program Files (x86)\Primera Technology\PTPublisher\UsbFlashDongleService.exe to inject malicious executables and gain system-level access.

Critical Impact

Local attackers with low privileges can exploit this unquoted service path to achieve privilege escalation and execute arbitrary code with SYSTEM-level permissions.

Affected Products

  • PTPublisher 2.3.4
  • Primera Technology PTPublisher with PTProtect service
  • Systems running UsbFlashDongleService.exe

Discovery Timeline

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

Technical Details for CVE-2022-50915

Vulnerability Analysis

This vulnerability is classified as CWE-428: Unquoted Search Path or Element. The PTProtect service in PTPublisher 2.3.4 is configured with an unquoted service path, which creates a security weakness that local attackers can exploit. When Windows attempts to start a service with an unquoted path containing spaces, it will attempt to execute binaries at each space boundary in the path before finding the intended executable.

The vulnerable service path C:\Program Files (x86)\Primera Technology\PTPublisher\UsbFlashDongleService.exe contains multiple spaces, creating several exploitation opportunities. The local attack vector means an attacker must already have some level of access to the target system, but the low privilege requirement makes this accessible to standard user accounts.

Root Cause

The root cause is the improper configuration of the Windows service path without enclosing quotes. When registering the PTProtect service, the installer failed to wrap the executable path in quotation marks. This oversight allows the Windows Service Control Manager to misinterpret the path during service startup, as it parses the path at each space character looking for an executable.

Attack Vector

An attacker with local access and write permissions to C:\Program Files (x86)\Primera Technology\ or any parent directory can place a malicious executable at one of the following locations to hijack service execution:

  • C:\Program.exe
  • C:\Program Files.exe
  • C:\Program Files (x86)\Primera.exe
  • C:\Program Files (x86)\Primera Technology\PTPublisher\UsbFlashDongleService.exe

When the PTProtect service starts or restarts, Windows will execute the attacker's malicious binary with SYSTEM privileges before reaching the legitimate service executable. This allows the attacker to escalate from a low-privileged local user to full system access.

For technical details regarding exploitation, refer to the Exploit-DB #50885 documentation and the VulnCheck Advisory.

Detection Methods for CVE-2022-50915

Indicators of Compromise

  • Presence of unexpected executables named Program.exe, Program Files.exe, or Primera.exe in root directories or along the service path
  • Unauthorized modifications to directories along the PTPublisher installation path
  • Unexpected child processes spawned by the PTProtect service or UsbFlashDongleService.exe
  • Suspicious service restart events for PTProtect in Windows 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 creation events in C:\, C:\Program Files (x86)\, and C:\Program Files (x86)\Primera Technology\ directories
  • Implement application whitelisting to prevent execution of unauthorized binaries in sensitive paths
  • Configure SentinelOne to detect and alert on suspicious executable placements in Windows system directories

Monitoring Recommendations

  • Enable Windows Security Event logging for service installation and modification events (Event ID 7045, 7040)
  • Configure file integrity monitoring for directories along the PTPublisher service path
  • Monitor for privilege escalation patterns where low-privileged users suddenly gain SYSTEM-level access
  • Review service configurations regularly for unquoted paths using automated scanning tools

How to Mitigate CVE-2022-50915

Immediate Actions Required

  • Audit all systems running PTPublisher 2.3.4 for the vulnerable unquoted service path configuration
  • Manually correct the service path by adding quotation marks around the executable path in the Windows Registry
  • Remove any unauthorized executables found in directories along the service path
  • Restrict write permissions on directories within the service path hierarchy to administrators only

Patch Information

Check the Primera Website for updated versions of PTPublisher that address this vulnerability. Review the VulnCheck Advisory for the latest remediation guidance and any available patches from the vendor.

Workarounds

  • Manually fix the unquoted service path by modifying the Windows Registry to enclose the path in quotation marks
  • Implement strict access controls on all directories in the vulnerable path to prevent unauthorized file writes
  • Consider disabling the PTProtect service if it is not essential to operations until a patch is available
  • Deploy application control policies to block execution of unsigned binaries in affected directories
bash
# Registry fix to correct the unquoted service path
# Run in an elevated command prompt
reg add "HKLM\SYSTEM\CurrentControlSet\Services\PTProtect" /v ImagePath /t REG_EXPAND_SZ /d "\"C:\Program Files (x86)\Primera Technology\PTPublisher\UsbFlashDongleService.exe\"" /f

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechPrimera Technology

  • 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
  • Exploit-DB #50885

  • Primera Website

  • VulnCheck Advisory
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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