# CVE-2022-1040: Sophos Firewall Authentication Bypass Vulnerability

Source: https://junglewise.ai/threats/cve-2022-1040-sophos-firewall-authentication-bypass-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-03-31. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2022-1040 · Severity: critical · CVSS 9.8 · Exploited in the wild · Published 2022-03-31

An authentication bypass vulnerability in the User Portal and Webadmin interfaces of Sophos Firewall allows a remote unauthenticated attacker to execute arbitrary code. The vulnerability affects version v18.5 MR3 and all prior versions.

Vendors: [Sophos](https://junglewise.ai/threats/vendors/sophos).

## Quick answers

**Is CVE-2022-1040 exploited in the wild?** Yes. CVE-2022-1040 is known to be exploited in the wild, first recorded on 31 March 2022. Treat it as urgent.

**How severe is CVE-2022-1040?** Critical severity, with a CVSS score of 9.8, published 31 March 2022.

**Which products and versions are affected?** Sophos Firewall (SFOS) v18.5 MR3 and older.

**Is there a fix for CVE-2022-1040?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2022-1040 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2022-1040?** Check whether you run Sophos Firewall. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Sophos Firewall (SFOS) v18.5 MR3 and older

## Timeline

- 2022-03-25: disclosed: Initial vendor advisory published by Sophos
- 2022-03-31: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
- 2022-03-31: advisory: NVD publication date

## Related threats

- [Sophos Firewall Code Injection Vulnerability](https://junglewise.ai/threats/cve-2022-3236-sophos-firewall-code-injection-vulnerability)
