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-2019-25275

CVE-2019-25275: BartVPN Privilege Escalation Vulnerability

CVE-2019-25275 is an unquoted service path vulnerability in BartVPN 1.2.2 that enables local attackers to execute code with elevated privileges. This article covers technical details, affected versions, and mitigation.

Published: February 6, 2026

CVE-2019-25275 Overview

BartVPN 1.2.2 contains an unquoted service path vulnerability in the BartVPNService that allows local attackers to potentially execute arbitrary code with elevated system privileges. This vulnerability arises from improper handling of the service executable path, enabling attackers to hijack the service's execution context by placing malicious executables in specific file system locations.

Critical Impact

Local attackers with limited privileges can escalate to SYSTEM-level access by exploiting the unquoted service path, potentially leading to full system compromise.

Affected Products

  • BartVPN 1.2.2
  • BartVPNService component

Discovery Timeline

  • 2026-02-05 - CVE CVE-2019-25275 published to NVD
  • 2026-02-05 - Last updated in NVD database

Technical Details for CVE-2019-25275

Vulnerability Analysis

This vulnerability falls under CWE-428 (Unquoted Search Path or Element), a common misconfiguration in Windows services where executable paths containing spaces are not properly enclosed in quotation marks. When Windows attempts to start a service with an unquoted path containing spaces, it sequentially attempts to execute binaries at each space-delimited path segment.

For example, if the BartVPNService is configured with a path like C:\Program Files\BartVPN\service.exe, Windows will attempt to execute in the following order:

  1. C:\Program.exe
  2. C:\Program Files\BartVPN\service.exe

This behavior creates an opportunity for privilege escalation since Windows services typically run under the SYSTEM account. An attacker with write access to C:\ or C:\Program Files\ can place a malicious executable named Program.exe that will be executed with elevated privileges when the service starts or restarts.

Root Cause

The root cause of this vulnerability is the failure to enclose the service binary path in quotation marks during the service registration process. When the BartVPNService was registered in the Windows Service Control Manager (SCM), the ImagePath registry value was set without proper quoting, leaving the path vulnerable to exploitation. This is a common oversight during software installation routines that do not properly sanitize or quote file paths containing spaces.

Attack Vector

This is a local privilege escalation attack requiring an authenticated user with the ability to write files to specific directories in the file system path hierarchy. The attacker must:

  1. Identify the unquoted service path through registry enumeration or service configuration queries
  2. Determine a writable location within the path resolution sequence
  3. Place a malicious executable at that location with a name that matches Windows' path resolution pattern
  4. Wait for or trigger a service restart to execute the malicious payload with SYSTEM privileges

The attack does not require network access and can be performed by any local user with write permissions to relevant directories, making it particularly dangerous in shared or multi-user environments.

Detection Methods for CVE-2019-25275

Indicators of Compromise

  • Unexpected executable files in root directories (e.g., C:\Program.exe, C:\Program Files.exe)
  • Unusual process creation events from service contexts involving non-standard executables
  • Registry modifications to the ImagePath value of BartVPNService
  • Suspicious file write operations to C:\ or C:\Program Files\ directories

Detection Strategies

  • Query Windows services for unquoted paths using PowerShell: Get-WmiObject win32_service | Where-Object {$_.PathName -notlike '"*"' -and $_.PathName -like '* *'}
  • Monitor for creation of executables named Program.exe or similar variants in root or common installation directories
  • Implement file integrity monitoring on system root directories
  • Use endpoint detection tools to identify privilege escalation attempts via service manipulation

Monitoring Recommendations

  • Enable Windows Security Event logging for service control manager events (Event IDs 7034, 7035, 7036, 7045)
  • Monitor process creation events for unexpected parent-child relationships involving services
  • Deploy SentinelOne Singularity platform to detect and block unauthorized privilege escalation attempts in real-time
  • Implement periodic audits of service configurations to identify unquoted paths across the environment

How to Mitigate CVE-2019-25275

Immediate Actions Required

  • Audit all installed services for unquoted path vulnerabilities using automated scripts or security tools
  • Manually correct the BartVPNService registry entry by adding quotation marks around the ImagePath value
  • Remove any suspicious executables from directories that could be targeted for path hijacking
  • Restrict write permissions on system root directories and common installation paths
  • Consider uninstalling BartVPN 1.2.2 if no vendor patch is available

Patch Information

No vendor patch information is currently available in the NVD. Organizations using BartVPN should contact the vendor directly for remediation guidance or consider alternative VPN solutions. Additional technical details can be found in the VulnCheck Advisory for BartVPN and Exploit-DB #47675.

Workarounds

  • Manually quote the service path in the Windows registry under HKLM\SYSTEM\CurrentControlSet\Services\BartVPNService
  • Use the sc config command to update the service binary path with proper quotation marks
  • Implement application whitelisting to prevent execution of unauthorized binaries
  • Deploy endpoint protection solutions capable of detecting service hijacking attempts
bash
# Configuration example - Fix unquoted service path via registry
reg add "HKLM\SYSTEM\CurrentControlSet\Services\BartVPNService" /v ImagePath /t REG_EXPAND_SZ /d "\"C:\Program Files\BartVPN\BartVPNService.exe\"" /f

# Alternative using sc command (adjust path as needed)
sc config BartVPNService binPath= "\"C:\Program Files\BartVPN\BartVPNService.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/TechBartvpn

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

  • FileHorse Software Repository

  • VulnCheck Advisory for BartVPN
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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