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-2021-3062

CVE-2021-3062: PAN-OS Auth Bypass Vulnerability

CVE-2021-3062 is an authentication bypass vulnerability in Palo Alto PAN-OS that allows attackers to access AWS EC2 metadata endpoints on VM-Series firewalls. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-3062 Overview

CVE-2021-3062 is an improper access control vulnerability in Palo Alto Networks PAN-OS software that affects VM-Series firewalls deployed on Amazon AWS. The vulnerability enables an attacker with authenticated access to GlobalProtect portals and gateways to connect to the EC2 instance metadata endpoint. Successful exploitation allows an attacker to perform any operations permitted by the EC2 role assigned to the VM-Series instance in AWS, potentially leading to significant cloud infrastructure compromise.

Critical Impact

Authenticated attackers can access EC2 instance metadata, enabling them to retrieve IAM credentials and perform unauthorized operations within the AWS environment using the permissions granted to the compromised VM-Series firewall's EC2 role.

Affected Products

  • PAN-OS 8.1 versions earlier than 8.1.20 (VM-Series firewalls)
  • PAN-OS 9.0 versions earlier than 9.0.14 (VM-Series firewalls)
  • PAN-OS 9.1 versions earlier than 9.1.11 (VM-Series firewalls)
  • PAN-OS 10.0 versions earlier than 10.0.8 (VM-Series firewalls)
  • Palo Alto Networks VM-Series Firewall on AWS

Discovery Timeline

  • November 10, 2021 - CVE-2021-3062 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-3062

Vulnerability Analysis

This vulnerability stems from improper access control within the GlobalProtect portal and gateway components of PAN-OS. When VM-Series firewalls are deployed on AWS infrastructure, they have access to the EC2 instance metadata service (IMDS) at the link-local address 169.254.169.254. Under normal circumstances, access to this endpoint should be restricted to authorized system processes only.

The flaw allows authenticated users with access to GlobalProtect to proxy requests through the firewall to reach the EC2 metadata endpoint. This is particularly dangerous because the EC2 metadata service exposes sensitive information including temporary IAM credentials associated with the instance's IAM role. These credentials can then be used to perform actions within the AWS environment based on the permissions granted to the role.

Importantly, Prisma Access customers are not impacted by this vulnerability, as their deployment architecture differs from the self-managed VM-Series on AWS.

Root Cause

The root cause is classified under CWE-284 (Improper Access Control). The GlobalProtect component fails to properly validate and restrict outbound connections initiated through authenticated sessions. Specifically, the software does not prevent authenticated users from leveraging their session to access the internal EC2 instance metadata endpoint, which should be accessible only to the firewall's own operating system processes.

Attack Vector

The attack requires network access and authenticated credentials to a GlobalProtect portal or gateway running on an affected VM-Series firewall in AWS. The attacker must first authenticate to GlobalProtect using valid credentials, then craft requests that traverse through the firewall to reach the EC2 metadata service. Once the attacker retrieves the IAM role credentials from the metadata endpoint, they can use these credentials externally to perform AWS API calls with whatever permissions the VM-Series instance's IAM role possesses.

The vulnerability is exploitable over the network and requires low complexity to execute once authentication is achieved. No user interaction is required beyond the initial authenticated session establishment.

Detection Methods for CVE-2021-3062

Indicators of Compromise

  • Unusual outbound connections from GlobalProtect sessions to the EC2 metadata endpoint (169.254.169.254)
  • Unexpected API calls to AWS services using the VM-Series instance's IAM role credentials from external IP addresses
  • Authentication logs showing legitimate users followed by suspicious metadata service access patterns
  • CloudTrail logs revealing IAM credential usage from unexpected source locations

Detection Strategies

  • Monitor GlobalProtect session logs for requests targeting internal AWS metadata endpoints
  • Implement AWS CloudTrail monitoring for API calls made using the VM-Series instance credentials from unexpected source IPs
  • Configure AWS GuardDuty to detect anomalous credential usage patterns
  • Deploy SentinelOne Singularity Cloud Security to identify suspicious access patterns in AWS environments

Monitoring Recommendations

  • Enable detailed logging on GlobalProtect portals and gateways to capture all user session activity
  • Configure alerting for any access attempts to the 169.254.169.254 address from authenticated user sessions
  • Implement AWS IAM Access Analyzer to continuously monitor for unusual credential activity
  • Establish baseline behavior for your VM-Series instances and alert on deviations

How to Mitigate CVE-2021-3062

Immediate Actions Required

  • Upgrade affected VM-Series firewalls to the patched PAN-OS versions immediately (8.1.20, 9.0.14, 9.1.11, or 10.0.8 or later)
  • Audit AWS IAM roles assigned to VM-Series instances and apply the principle of least privilege
  • Review GlobalProtect user access and credentials for any unauthorized activity
  • Enable AWS IMDSv2 on VM-Series instances to add an additional layer of protection

Patch Information

Palo Alto Networks has released security patches addressing this vulnerability. Affected organizations should upgrade to the following minimum versions:

  • PAN-OS 8.1: Upgrade to version 8.1.20 or later
  • PAN-OS 9.0: Upgrade to version 9.0.14 or later
  • PAN-OS 9.1: Upgrade to version 9.1.11 or later
  • PAN-OS 10.0: Upgrade to version 10.0.8 or later

For detailed patch information, refer to the Palo Alto Networks Security Advisory.

Workarounds

  • Configure AWS Instance Metadata Service Version 2 (IMDSv2) which requires session tokens and provides additional protection against SSRF-style attacks
  • Restrict IAM role permissions attached to VM-Series instances to the absolute minimum required for operation
  • Implement network-level controls to monitor and restrict access to the metadata endpoint from GlobalProtect sessions
  • Consider deploying additional network segmentation to limit the blast radius of potential credential compromise
bash
# Enable IMDSv2 on AWS VM-Series instance (requires session token for metadata access)
aws ec2 modify-instance-metadata-options \
    --instance-id <your-vm-series-instance-id> \
    --http-tokens required \
    --http-endpoint enabled

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPaloaltonetworks Pan Os

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.36%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-284

  • NVD-CWE-Other
  • Vendor Resources
  • Palo Alto Networks CVE-2021-3062
  • Related CVEs
  • CVE-2020-2021: PAN-OS SAML Auth Bypass Vulnerability

  • CVE-2025-0108: Palo Alto PAN-OS Auth Bypass Vulnerability

  • CVE-2024-0012: Palo Alto PAN-OS Auth Bypass Vulnerability

  • CVE-2024-3383: PAN-OS Auth Bypass 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