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

CVE-2022-1040: Sophos Firewall Auth Bypass Vulnerability

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

Updated: May 16, 2026

CVE-2022-1040 Overview

CVE-2022-1040 is an authentication bypass vulnerability in the User Portal and Webadmin interfaces of Sophos Firewall. A remote, unauthenticated attacker can bypass authentication and execute arbitrary code on the appliance over the network. The flaw affects Sophos Firewall version v18.5 MR3 and earlier releases. CISA added this issue to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation against internet-facing Sophos Firewall deployments. The EPSS score is 94.439% at the 99.99 percentile, reflecting a very high likelihood of exploitation activity.

Critical Impact

Unauthenticated remote attackers can bypass authentication on the User Portal or Webadmin and execute code on the firewall, gaining control of a perimeter security device.

Affected Products

  • Sophos Firewall (SFOS) version v18.5 MR3 and older
  • Sophos SFOS appliances exposing the User Portal to untrusted networks
  • Sophos SFOS appliances exposing the Webadmin interface to untrusted networks

Discovery Timeline

  • 2022-03-25 - Sophos publishes security advisory sophos-sa-20220325-sfos-rce
  • 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

The vulnerability is an authentication bypass in two web-facing management surfaces of Sophos Firewall: the User Portal and the Webadmin console. By reaching these endpoints over the network, an attacker can circumvent authentication checks and invoke functionality that should require valid credentials. The bypass chains into code execution on the underlying appliance, allowing the attacker to run commands in the context of the firewall.

Because Sophos Firewall is typically deployed at the network edge, successful exploitation gives an attacker a foothold on the perimeter. From that position, an attacker can intercept traffic, pivot into the internal network, modify firewall rules, or disable inspection. CISA KEV listing and Exploit-DB entry 51006 confirm working exploitation paths are public.

Root Cause

The root cause is improper authentication enforcement in the User Portal and Webadmin web applications. Requests that should be rejected as unauthenticated are processed by privileged handlers. NVD classifies the weakness as NVD-CWE-noinfo, and Sophos has not publicly disclosed the specific code-level defect. See the Sophos Security Advisory for vendor details.

Attack Vector

The attack vector is the network. An attacker sends crafted HTTP/HTTPS requests to the User Portal or Webadmin interface, which are commonly exposed on the WAN for remote administration and VPN portal access. No user interaction and no prior privileges are required. The Packet Storm advisory and Exploit-DB #51006 document the exploitation mechanics.

// No verified public exploit code reproduced here.
// Refer to Exploit-DB #51006 and the Sophos advisory for technical specifics.

Detection Methods for CVE-2022-1040

Indicators of Compromise

  • Unexpected administrator or portal user accounts created on the firewall outside of change control
  • Anomalous outbound connections from the firewall management plane to unknown IP addresses
  • Modifications to firewall rules, VPN configurations, or DNS settings without a corresponding change record
  • Webadmin or User Portal access log entries from unfamiliar source IPs preceding configuration changes

Detection Strategies

  • Inspect Sophos Firewall access logs for HTTP requests to User Portal and Webadmin URLs from non-administrative source ranges.
  • Correlate firewall configuration change events with authenticated administrator session activity to identify changes without a matching login.
  • Compare running configuration against known-good baselines to detect tampering with rules, certificates, or admin accounts.

Monitoring Recommendations

  • Forward Sophos Firewall syslog to a central SIEM or data lake and alert on management-plane access from outside approved networks.
  • Monitor for outbound traffic originating from the firewall itself, which should be rare and well-defined.
  • Track firmware version reporting from all SFOS appliances to identify systems still running v18.5 MR3 or earlier.

How to Mitigate CVE-2022-1040

Immediate Actions Required

  • Apply the Sophos hotfix or upgrade to a fixed SFOS release as documented in sophos-sa-20220325-sfos-rce.
  • Restrict User Portal and Webadmin exposure to trusted management networks; remove WAN access where not strictly required.
  • Audit administrator accounts, API tokens, and firewall rules for unauthorized changes since March 2022.
  • Rotate administrator credentials and any secrets stored on or reachable from the firewall.

Patch Information

Sophos released hotfixes for supported SFOS versions, distributed automatically to appliances with the default "Allow automatic installation of hotfixes" setting enabled. Customers running v18.5 MR3 or older must verify hotfix installation or upgrade to a fixed release. Full remediation guidance is provided in the Sophos Security Advisory and the CISA KEV entry.

Workarounds

  • Disable WAN access to the User Portal and Webadmin until the hotfix is confirmed installed.
  • Limit management access using local service ACLs to specific administrator source IP ranges.
  • Place the firewall management interfaces behind a VPN or jump host where feasible.
bash
# Verify hotfix application status on Sophos Firewall (admin CLI)
system diagnostic show version
system hotfix show
# Confirm WAN exposure of management services
system service-acl show

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

  • 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 Security Advisory

  • Exploit-DB #51006

  • CISA Known Exploited Vulnerability
  • Vendor Resources
  • Sophos Security Advisory
  • Related CVEs
  • CVE-2025-10159: Sophos AP6 Auth Bypass 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