A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-36948

CVE-2020-36948: VestaCP Authentication Bypass Vulnerability

CVE-2020-36948 is an authentication bypass flaw in VestaCP 0.9.8-26 that allows attackers to manipulate session tokens and gain unauthorized account access. This article covers technical details, affected systems, and mitigations.

Updated: May 16, 2026

CVE-2020-36948 Overview

CVE-2020-36948 is an authorization vulnerability in VestaCP 0.9.8-26 affecting the LoginAs module. The flaw stems from insufficient session token validation, allowing authenticated remote attackers to manipulate authentication tokens and access user accounts without proper administrative permissions. The weakness is classified under CWE-863: Incorrect Authorization. VestaCP is an open-source hosting control panel used to manage web, mail, DNS, and database services. Successful exploitation enables attackers to impersonate other users on the panel, leading to compromise of hosted services and data.

Critical Impact

Authenticated attackers can hijack arbitrary user sessions through the LoginAs module, gaining unauthorized access to user accounts and their managed services.

Affected Products

  • VestaCP 0.9.8-26
  • VestaCP LoginAs module
  • Hosting environments running the affected VestaCP build

Discovery Timeline

  • 2026-01-27 - CVE-2020-36948 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2020-36948

Vulnerability Analysis

The vulnerability resides in the LoginAs functionality of VestaCP 0.9.8-26. This feature is intended to let administrators switch into a target user account for support and management workflows. The implementation fails to enforce sufficient validation on the session token presented during the LoginAs request. As a result, an attacker with a low-privilege authenticated session can manipulate the authentication token used by the LoginAs flow and trigger login requests against arbitrary accounts. Because the panel honors the manipulated token as if it originated from an administrative context, the request succeeds without the actor holding administrative permissions.

Root Cause

The root cause is incorrect authorization [CWE-863] in the LoginAs request handler. The server does not properly verify that the calling principal owns the privileges required to assume another user identity, nor does it cryptographically bind the session token to the requesting user. This logic gap converts a privileged administrative function into an action callable by lower-privileged accounts.

Attack Vector

The attack vector is network-based and requires low privileges with no user interaction. An attacker authenticates to VestaCP with any valid account, then issues a crafted LoginAs request with a manipulated session token to impersonate a target user. Public exploitation details for this issue are documented in Exploit-DB entry 49219, the VulnCheck advisory, and Vulnerability Lab report 2240.

No verified proof-of-concept code is reproduced here. Refer to the linked advisories for request-level technical details.

Detection Methods for CVE-2020-36948

Indicators of Compromise

  • Unexpected LoginAs events in VestaCP logs originating from non-administrative accounts.
  • Session activity for a user account from an IP address or User-Agent that recently authenticated as a different, lower-privileged user.
  • Sudden privilege transitions in the panel audit trail without a corresponding administrator login.

Detection Strategies

  • Audit VestaCP web server logs for requests to LoginAs endpoints and correlate the source session with the account ultimately accessed.
  • Alert on session token reuse where the same token authenticates requests as multiple distinct users within a short window.
  • Baseline normal administrative LoginAs usage and flag deviations such as off-hours impersonation events or non-admin originators.

Monitoring Recommendations

  • Forward VestaCP access and audit logs to a centralized SIEM or data lake for correlation against authentication events.
  • Monitor outbound activity from hosted accounts immediately following LoginAs events to identify post-impersonation abuse.
  • Track failed and successful authentication transitions per source IP to detect enumeration of accounts through the LoginAs flow.

How to Mitigate CVE-2020-36948

Immediate Actions Required

  • Upgrade VestaCP beyond version 0.9.8-26 to a release that addresses the LoginAs authorization flaw, or migrate to an actively maintained fork.
  • Restrict panel access to trusted management networks using firewall rules or VPN-only access to reduce exposure of authenticated attackers.
  • Rotate all VestaCP user credentials and invalidate existing sessions to remove any tokens that may have been manipulated.
  • Review panel audit logs for prior LoginAs activity that cannot be tied to an authorized administrator action.

Patch Information

VestaCP 0.9.8-26 is the affected version identified in the advisories. Operators should consult the VestaCP official website and the VulnCheck advisory for the latest available builds and fixed releases. VestaCP development has been historically inconsistent; where no vendor patch is available, migration to a maintained alternative is the recommended long-term remediation.

Workarounds

  • Disable or remove the LoginAs functionality in the panel configuration if a vendor fix is unavailable.
  • Limit account creation on the panel and remove unused low-privilege accounts to shrink the pool of viable attacker starting points.
  • Place the VestaCP administrative interface behind a reverse proxy that enforces additional authentication, such as mutual TLS or an SSO gateway.
bash
# Example: restrict VestaCP admin port (default 8083) to a management subnet
iptables -A INPUT -p tcp --dport 8083 -s 10.0.0.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8083 -j DROP

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechVestacp

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.32%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/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-863
  • Technical References
  • VestaCP Official Website

  • Exploit-DB #49219

  • VulnCheck Advisory

  • Vulnerability Lab #2240

  • Vulnerability Lab User Profile
  • Related CVEs
  • CVE-2021-47873: VestaCP XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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