CVE-2022-1040 in Sophos Sfos
An authentication bypass vulnerability in the User Portal and Webadmin allows a remote attacker to execute code in Sophos Firewall version v18.5 MR3 and older.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Sophos | Sfos | ≤ 18.5.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2022-03-31 |
|---|---|
| Public exploit | Reported · reference |
Official description
An authentication bypass vulnerability in the User Portal and Webadmin allows a remote attacker to execute code in Sophos Firewall version v18.5 MR3 and older.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-1040 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-255613-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-03-25 |
| Last modified | 2026-06-17 |
| Source | NVD |
Analysis AI-written, not human-reviewed
CVE-2022-1040 is a critical authentication bypass vulnerability affecting the User Portal and Webadmin components of Sophos Firewall versions up to v18.5 MR3. This vulnerability allows a remote attacker to execute arbitrary code, leading to potential full system compromise. Given the high CVSS score, public proof-of-concept, and known exploits, immediate attention is required to mitigate the risk.
The vulnerability can be exploited by a remote attacker without any prior authentication. The attacker can bypass the authentication mechanism of the User Portal and Webadmin, leading to unauthorized access and the ability to execute arbitrary code on the affected firewall. This can result in complete system compromise, data exfiltration, and further lateral movement within the network.
Compensating controls AI-drafted, review before use
Implement strict network segmentation and access controls to limit exposure of the User Portal and Webadmin interfaces to untrusted networks. Regularly monitor logs for suspicious activity and apply the latest security patches as soon as they become available.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2022-1040?
CVE-2022-1040 is a critical authentication bypass vulnerability affecting the User Portal and Webadmin components of Sophos Firewall versions up to v18.5 MR3. This vulnerability allows a remote attacker to execute arbitrary code, leading to potential full system compromise. Given the high CVSS score, public proof-of-concept, and known exploits, immediate attention is required to mitigate the risk.
What is the CVSS score for CVE-2022-1040?
CVE-2022-1040 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 93.8%.
Is CVE-2022-1040 actively exploited?
Yes. CVE-2022-1040 is in the CISA known-exploited catalog (added 2022-03-31). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2022-1040?
Priority: IMMEDIATE. Advisory: https://www.sophos.com/en-us/security-advisories/sophos-sa-20220325-sfos-rce PSIRT: [email protected]
What systems are affected by CVE-2022-1040?
CVE-2022-1040 affects Sophos Sfos.
What NERC-CIP standard applies to CVE-2022-1040?
NERC CIP CIP-007 CIP-007-R2: This vulnerability violates CIP-007-R2 by allowing unauthorized access to critical cyber assets, which could lead to the compromise of the control system and affect the reliability of the bulk electric system.
What IEC 62443 requirement maps to CVE-2022-1040?
IEC 62443 SR 7.6: This vulnerability maps to SR 7.6, which requires the implementation of secure authentication mechanisms to prevent unauthorized access to industrial control systems. The bypass of authentication in the User Portal and Webadmin violates this requirement, posing a significant risk to operational integrity and safety.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Sophos","product":"Sfos","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.