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-2022-1040

CVE-2022-1040: Sophos Firewall Auth Bypass Vulnerability

CVE-2022-1040 is an authentication bypass vulnerability in Sophos Firewall that enables remote attackers to execute arbitrary code via User Portal and Webadmin. This article covers technical details, affected versions, and mitigation.

Published: February 18, 2026

CVE-2022-1040 Overview

CVE-2022-1040 is an authentication bypass vulnerability affecting the User Portal and Webadmin interfaces of Sophos Firewall. This vulnerability allows remote attackers to bypass authentication mechanisms and subsequently execute arbitrary code on vulnerable Sophos Firewall appliances running version v18.5 MR3 and older. The vulnerability has been actively exploited in the wild and is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, making it a high-priority concern for organizations using affected Sophos products.

Critical Impact

Remote unauthenticated attackers can bypass authentication and execute arbitrary code on Sophos Firewall appliances, potentially leading to complete system compromise and network infiltration.

Affected Products

  • Sophos Firewall (SFOS) version v18.5 MR3 and older
  • Sophos XG Series Firewalls running vulnerable SFOS versions
  • All Sophos Firewall appliances with User Portal or Webadmin exposed to the network

Discovery Timeline

  • 2022-03-25 - CVE-2022-1040 published to NVD
  • 2025-10-27 - Last updated in NVD database

Technical Details for CVE-2022-1040

Vulnerability Analysis

CVE-2022-1040 represents a severe authentication bypass vulnerability that affects two critical management interfaces of Sophos Firewall: the User Portal and the Webadmin console. The vulnerability allows unauthenticated remote attackers to circumvent the normal authentication process entirely, granting them unauthorized access to privileged functionality. Once authentication is bypassed, attackers can leverage this access to execute arbitrary code on the underlying system.

The nature of this vulnerability is particularly concerning because firewall management interfaces are often accessible from internal networks and, in some misconfigurations, from the internet. Successful exploitation provides attackers with a foothold on a critical network security device, which can be leveraged for lateral movement, network reconnaissance, or complete network compromise.

Root Cause

The vulnerability stems from improper authentication validation within the User Portal and Webadmin components of the Sophos Firewall operating system (SFOS). The authentication mechanism fails to properly validate user credentials or session tokens under certain conditions, allowing attackers to craft requests that bypass authentication checks entirely. This lack of proper access control allows unauthenticated users to access functionality that should require administrative credentials.

Attack Vector

The attack vector is network-based and requires no user interaction or prior authentication. An attacker with network access to the User Portal (typically on port 443) or Webadmin interface can send specially crafted requests to exploit the authentication bypass. The exploitation process typically involves:

  1. Identifying a vulnerable Sophos Firewall with exposed User Portal or Webadmin interfaces
  2. Sending malicious requests designed to bypass the authentication mechanism
  3. Gaining unauthorized access to administrative functions
  4. Executing arbitrary commands or code on the firewall system

The vulnerability mechanism exploits weaknesses in the authentication flow of the Sophos Firewall management interfaces. According to the Sophos Security Advisory, the authentication bypass allows attackers to gain access to privileged operations without proper credential validation. Technical analysis available from Packet Storm and Exploit-DB #51006 provides additional details on the exploitation methodology.

Detection Methods for CVE-2022-1040

Indicators of Compromise

  • Unexpected administrative sessions or logins to User Portal or Webadmin interfaces
  • Authentication log entries showing successful access without proper credential validation
  • Unusual processes or services running on the Sophos Firewall appliance
  • Unexpected configuration changes to firewall rules, VPN settings, or user accounts
  • Network traffic anomalies originating from the firewall management interfaces

Detection Strategies

  • Monitor Sophos Firewall logs for authentication anomalies and failed/successful login patterns
  • Implement network-level monitoring for unexpected traffic to/from firewall management ports
  • Deploy intrusion detection signatures specifically targeting CVE-2022-1040 exploitation attempts
  • Review firewall configuration backups for unauthorized changes
  • Utilize SentinelOne Singularity to detect post-exploitation activities on connected network assets

Monitoring Recommendations

  • Enable verbose logging on User Portal and Webadmin interfaces
  • Configure SIEM alerts for unusual administrative access patterns
  • Implement baseline monitoring for normal firewall management traffic
  • Set up alerts for configuration changes or new administrative accounts
  • Regularly audit firewall access logs and correlate with known attack patterns

How to Mitigate CVE-2022-1040

Immediate Actions Required

  • Update Sophos Firewall to the latest available firmware version immediately
  • Restrict access to User Portal and Webadmin interfaces to trusted networks only
  • Review firewall logs for any indicators of prior exploitation
  • Audit all user accounts and configurations for unauthorized changes
  • Implement network segmentation to limit exposure of management interfaces

Patch Information

Sophos has released security updates to address CVE-2022-1040 as documented in the official Sophos Security Advisory. Organizations should immediately upgrade to SFOS versions newer than v18.5 MR3. Sophos Firewall appliances with automatic updates enabled should have received the hotfix automatically. Organizations should verify their current firmware version through the Webadmin console and ensure they are running a patched version. Given the active exploitation and CISA KEV listing, patching should be treated as an urgent priority.

Workarounds

  • Disable WAN access to User Portal and Webadmin interfaces if not required
  • Implement IP-based access restrictions to limit management interface access to known administrative IPs
  • Deploy a VPN requirement for all administrative access to firewall management interfaces
  • Enable multi-factor authentication where supported for administrative access
  • Consider placing the firewall management interface behind an additional access control layer
bash
# Example: Restrict Webadmin access to specific administrative subnet
# Access firewall CLI and configure access restrictions
# Verify current SFOS version
system diagnostics show version-info

# Review currently allowed access to management interfaces
# Implement access restrictions through Device Access settings
# Navigate to: Administration > Device Access > Local Service ACL

# Disable WAN zone access to User Portal and Webadmin
# Set allowed networks to internal management subnet only (e.g., 10.0.0.0/24)

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSophos Firewall

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.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
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Packet Storm Exploit Analysis

  • Exploit-DB #51006

  • CISA Known Exploited Vulnerability
  • Vendor Resources
  • Sophos Security Advisory
  • Related CVEs
  • CVE-2025-7624: Sophos Firewall Firmware SQLI Vulnerability

  • CVE-2024-12727: Sophos Firewall Firmware SQLI Vulnerability

  • CVE-2024-12729: Sophos Firewall Firmware RCE Vulnerability

  • CVE-2022-3236: Sophos Firewall RCE Vulnerability
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