Home / Sophos / Sophos Firewall / CVE-2022-1040
CVE-2022-1040: is it exploited, and which versions of Sophos Firewall are affected and fixed?
CVE-2022-1040 is a vulnerability in Sophos Firewall, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on March 31, 2022, with a federal due date of April 21, 2022. Affected: Sophos Firewall through 18.5 MR3 (CVE record by Sophos). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.1, from Sophos).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 28, 2026, 16:16 UTC and NVD November 19, 2026, 07:49 UTC.
What is CVE-2022-1040?
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.
From the CVE record by Sophos, last updated October 21, 2025, 23:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Sophos | Sophos Firewall | through 18.5 MR3 |
As the CVE record by Sophos states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sophos | sfos | through 18.5.3 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:21 UTC.
How severe is CVE-2022-1040?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Sophos |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-1040 exploited in the wild?
- CISA KEV
- Listed as Sophos Firewall Authentication Bypass Vulnerability, added March 31, 2022; federal agencies must act by April 21, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Unknown
- CISA's summary
- An authentication bypass vulnerability in User Portal and Webadmin of Sophos Firewall allows for remote code execution.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, January 29, 2025)
- EPSS
- 99.8% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://www.sophos.com/en-us/security-advisories/sophos-sa-20220325-sfos-rce x_refsource_CONFIRM
- http://packetstormsecurity.com/files/168046/Sophos-XG115w-Firewall-17.0.10-MR-10-Authentication-Bypass.html x_refsource_MISC
- https://www.exploit-db.com/exploits/51006 x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-1040 government-resource
When was it published, and where is the official record?
- Reserved
- March 21, 2022
- Published
- March 25, 2022, 12:10 UTC
- CVE record updated
- October 21, 2025, 23:15 UTC by Sophos
- NVD
- Analyzed, last modified June 17, 2026, 04:21 UTC
- Last checked
- CVE list November 28, 2026, 16:16 UTC; NVD November 19, 2026, 07:49 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Sophos Firewall?
- Sep 23, 2022CVE-2022-3236 Sophos Firewall: code injection (remote code execution) exploited
- Jul 21, 2025CVE-2024-13973 Sophos Firewall: SQL injection
- Jul 21, 2025CVE-2024-13974 Sophos Firewall: reliance on Untrusted Inputs in a Security Decision
- Jul 21, 2025CVE-2025-7382 Sophos Firewall: OS command injection
- Jul 21, 2025CVE-2025-7624 Sophos Firewall: SQL injection
- Jul 21, 2025CVE-2025-6704 Sophos Firewall: OS command injection
- Dec 19, 2024CVE-2024-12729 Sophos Firewall: code injection (remote code execution)
- Dec 19, 2024CVE-2024-12728 Sophos Firewall: weak credentials
Questions about CVE-2022-1040
Is CVE-2022-1040 exploited in the wild?
Yes. CISA added CVE-2022-1040 to its Known Exploited Vulnerabilities catalog on March 31, 2022 and set federal agencies a due date of April 21, 2022. FIRST's EPSS gives it a 99.8% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Sophos Firewall are affected by CVE-2022-1040?
Sophos Firewall through 18.5 MR3, per the CVE record by Sophos. The tables above give every range the sources list.
Which version fixes CVE-2022-1040?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2022-1040?
Critical (9.8, CVSS 3.1, from Sophos). The severity table above shows each score with its source.
Where is the official record of CVE-2022-1040?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.