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-2020-36986

CVE-2020-36986: Prey Privilege Escalation Vulnerability

CVE-2020-36986 is a privilege escalation vulnerability in Prey 1.9.6 caused by an unquoted service path. Attackers can exploit this to execute code with elevated privileges. This post covers technical details, impact, and mitigation.

Published: January 30, 2026

CVE-2020-36986 Overview

Prey 1.9.6 contains an unquoted service path vulnerability (CWE-428) that allows local users to potentially execute code with elevated privileges. Attackers can exploit the unquoted path in the CronService to insert malicious code that would execute during application startup or system reboot.

Critical Impact

Local privilege escalation through unquoted service path exploitation in Prey's CronService, enabling attackers to execute arbitrary code with SYSTEM-level privileges.

Affected Products

  • Prey version 1.9.6

Discovery Timeline

  • 2026-01-28 - CVE CVE-2020-36986 published to NVD
  • 2026-01-29 - Last updated in NVD database

Technical Details for CVE-2020-36986

Vulnerability Analysis

This vulnerability stems from improper handling of service paths in the Windows service configuration for Prey's CronService. When a Windows service executable path contains spaces and is not enclosed in quotation marks, Windows attempts to locate the executable by progressively parsing the path at each space. This behavior can be exploited by an attacker to place a malicious executable in a location that gets executed before the intended legitimate service binary.

The unquoted service path vulnerability in Prey 1.9.6 allows a local attacker with write access to certain directories in the service path to plant a malicious executable. When the CronService starts (either during system boot or when manually triggered), Windows may execute the attacker's code instead of the legitimate Prey service binary, resulting in privilege escalation to SYSTEM-level permissions.

Root Cause

The root cause of this vulnerability is the improper quoting of the service binary path during installation or configuration of the Prey CronService. When the service path contains spaces (such as C:\Program Files\Prey\...), Windows requires the path to be enclosed in double quotes. Without proper quoting, Windows interprets the path ambiguously, attempting to execute binaries at intermediate path locations like C:\Program.exe or C:\Program Files\Prey.exe before reaching the intended executable.

Attack Vector

The attack requires local access to the target system and write permissions to one of the directories in the unquoted service path. An attacker would:

  1. Identify the unquoted service path for Prey's CronService
  2. Determine which directory in the path they have write access to
  3. Place a malicious executable (e.g., Program.exe in C:\ or Prey.exe in C:\Program Files\)
  4. Wait for or trigger a service restart or system reboot
  5. The malicious executable runs with the privileges of the service (typically SYSTEM)

The vulnerability is documented in Exploit-DB #48967 and detailed in the VulnCheck Advisory.

Detection Methods for CVE-2020-36986

Indicators of Compromise

  • Unexpected executables appearing in directories such as C:\Program.exe, C:\Program Files\Prey.exe, or other paths along the service binary path
  • Unusual process execution chains where suspicious binaries spawn from service startup
  • Modification timestamps on files in system directories that don't align with expected software updates
  • Service-related event logs showing execution of non-standard binaries during CronService startup

Detection Strategies

  • Query Windows services for unquoted paths using tools like wmic service get name,pathname or PowerShell cmdlets to identify vulnerable service configurations
  • Monitor file creation events in sensitive directories (C:\, C:\Program Files\) for unexpected executable files
  • Use endpoint detection and response (EDR) solutions to detect anomalous process creation during service startup sequences
  • Implement application whitelisting to prevent unauthorized executables from running in elevated contexts

Monitoring Recommendations

  • Enable detailed Windows Security Event logging (Event ID 4688) to track process creation with command-line arguments
  • Configure file integrity monitoring (FIM) on critical system directories to detect unauthorized file additions
  • Monitor service configuration changes through Windows Event Log (Event ID 7045 for new service installations and modifications)
  • Leverage SentinelOne's behavioral AI to detect privilege escalation attempts and anomalous service execution patterns

How to Mitigate CVE-2020-36986

Immediate Actions Required

  • Audit all installed services for unquoted service paths using wmic service get name,displayname,pathname,startmode | findstr /i "auto" | findstr /i /v "C:\Windows\\" or equivalent PowerShell commands
  • Manually correct the service path by enclosing it in double quotes in the Windows Registry under HKLM\SYSTEM\CurrentControlSet\Services\<ServiceName>\ImagePath
  • Restrict write permissions on directories in the service path to administrators only
  • Consider upgrading Prey to a newer version if one is available that addresses this vulnerability

Patch Information

Check the Prey Project website for updated versions that address this vulnerability. Review the VulnCheck Advisory for additional guidance on remediation steps.

Workarounds

  • Manually quote the service path in the Windows Registry to prevent path ambiguity exploitation
  • Remove write permissions from non-administrative users for all directories in the service path
  • Implement application control policies to prevent execution of unauthorized binaries from writable directories
  • Use endpoint protection solutions like SentinelOne to detect and block exploitation attempts in real-time
bash
# Check for unquoted service paths (PowerShell)
Get-WmiObject win32_service | Select-Object Name, PathName | Where-Object { $_.PathName -notlike '"*' -and $_.PathName -like '* *' }

# Fix unquoted service path (requires Administrator privileges)
# Replace <ServiceName> with the actual service name
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\<ServiceName>" -Name ImagePath -Value '"C:\Program Files\Prey\path\to\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/TechPrey

  • SeverityHIGH

  • CVSS Score8.5

  • EPSS Probability0.01%

  • 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
  • Prey Project Overview

  • Exploit-DB #48967

  • VulnCheck Advisory: Prey Cronservice
  • 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