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

CVE-2020-27780: Linux-PAM Auth Bypass Vulnerability

CVE-2020-27780 is an authentication bypass flaw in Linux-PAM that allows attackers to authenticate as root using empty passwords for non-existing users. This article covers technical details, affected versions, and fixes.

Published: March 4, 2026

CVE-2020-27780 Overview

A critical authentication bypass vulnerability was discovered in Linux-PAM (Pluggable Authentication Modules) in versions prior to 1.5.1. The flaw exists in how Linux-PAM handles empty passwords for non-existing users. When authentication is attempted for a user that doesn't exist, PAM incorrectly falls back to authenticating with root credentials, and in cases where an empty password is provided, it successfully authenticates the user. This improper authentication logic (CWE-287) could allow unauthorized access to systems protected by PAM-based authentication.

Critical Impact

Attackers can bypass authentication by supplying an empty password for non-existing usernames, potentially gaining root-level access to vulnerable systems.

Affected Products

  • Linux-PAM versions prior to 1.5.1
  • Systems using PAM-based authentication with vulnerable configurations
  • Linux distributions shipping affected Linux-PAM versions

Discovery Timeline

  • 2020-12-18 - CVE-2020-27780 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2020-27780

Vulnerability Analysis

This vulnerability represents a severe authentication bypass flaw in the Linux-PAM authentication framework. The core issue lies in PAM's handling of authentication requests for users that do not exist in the system. Under normal circumstances, authentication should fail immediately when a non-existent username is provided. However, due to this flaw, PAM incorrectly redirects the authentication attempt to the root account.

The vulnerability is particularly dangerous because when an empty password is submitted during this flawed authentication flow, PAM accepts it as valid authentication, effectively granting access without proper credential verification. This behavior completely undermines the fundamental security guarantee that authentication modules are supposed to provide.

Root Cause

The root cause stems from improper error handling in the PAM authentication logic. When PAM encounters a non-existent user, instead of returning an authentication failure, it attempts to authenticate against the root account. Combined with insufficient validation of empty password strings, this creates a path where attackers can authenticate without valid credentials. The flaw represents a fundamental failure in the authentication decision logic that should reject any authentication attempt where the supplied credentials cannot be properly verified against the intended user account.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction to exploit. An attacker can target any service that uses Linux-PAM for authentication, such as SSH, sudo, or web applications. The attack is straightforward: the attacker supplies a non-existent username combined with an empty password. Due to the flawed authentication logic, PAM redirects the authentication to root and accepts the empty password, granting the attacker unauthorized access.

The exploitation process involves:

  1. Identifying a target system using vulnerable Linux-PAM versions for authentication
  2. Attempting to authenticate with a username that does not exist on the system
  3. Providing an empty password when prompted
  4. Gaining authentication success due to the flawed fallback to root authentication

For more technical details on the authentication flow, see the Red Hat Bug Report #1901094.

Detection Methods for CVE-2020-27780

Indicators of Compromise

  • Successful authentication events logged for usernames that don't exist in /etc/passwd or directory services
  • Unusual root-level activity following authentication attempts with non-standard usernames
  • Authentication logs showing empty password submissions with successful outcomes
  • Spike in failed authentication attempts followed by successful authentications for non-existent users

Detection Strategies

  • Monitor authentication logs (/var/log/auth.log, /var/log/secure) for successful logins with usernames not present in the user database
  • Implement alerting on authentication success events that don't correlate with known user accounts
  • Deploy intrusion detection rules to flag empty password authentication attempts
  • Audit PAM configuration files for vulnerable module versions and configurations

Monitoring Recommendations

  • Enable verbose PAM logging to capture detailed authentication flow information
  • Configure SIEM rules to correlate authentication events with user account existence checks
  • Implement real-time monitoring for root account access following unusual authentication patterns
  • Review and baseline normal authentication patterns to detect anomalous access attempts

How to Mitigate CVE-2020-27780

Immediate Actions Required

  • Upgrade Linux-PAM to version 1.5.1 or later immediately
  • Audit authentication logs for signs of exploitation
  • Review PAM configurations and ensure proper authentication module ordering
  • Consider implementing additional authentication layers such as multi-factor authentication

Patch Information

The vulnerability is addressed in Linux-PAM version 1.5.1 and later. Organizations should update their Linux-PAM packages through their distribution's package management system. Check your distribution's security advisories for specific package update instructions.

For Red Hat-based systems, consult the Red Hat Bug Report #1901094 for vendor-specific guidance.

Workarounds

  • Configure PAM to explicitly deny authentication for non-existent users before other modules process the request
  • Implement network-level access controls to limit exposure of PAM-authenticated services
  • Enable account lockout policies to limit authentication attempts
  • Deploy host-based intrusion prevention to block suspicious authentication patterns
bash
# Verify Linux-PAM version installed
rpm -qa | grep pam
# or for Debian-based systems
dpkg -l | grep libpam

# Check PAM configuration for authentication modules
cat /etc/pam.d/system-auth
cat /etc/pam.d/common-auth

# Monitor authentication attempts in real-time
tail -f /var/log/auth.log

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLinux Pam

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-287
  • Technical References
  • Red Hat Bug Report #1901094
  • Related CVEs
  • CVE-2025-8941: Linux PAM Privilege Escalation Vulnerability

  • CVE-2025-6020: Linux PAM Privilege Escalation Vulnerability

  • CVE-2024-22365: Linux PAM Denial of Service Vulnerability

  • CVE-2024-10041: Linux-pam Information Disclosure Flaw
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