Home / Sophos / Sfos / CVE-2020-12271
CVE-2020-12271: is it exploited, and which versions of Sophos Sfos are affected and fixed?
CVE-2020-12271 is a SQL injection vulnerability in Sophos Sfos, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of May 3, 2022. Affected: sfos 17.0, sfos 17.1, sfos 17.5 and 1 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (10.0, CVSS 3.0, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:11 UTC.
What is CVE-2020-12271?
A SQL injection issue was found in SFOS 17.0, 17.1, 17.5, and 18.0 before 2020-04-25 on Sophos XG Firewall devices, as exploited in the wild in April 2020. This affected devices configured with either the administration (HTTPS) service or the User Portal exposed on the WAN zone. A successful attack may have caused remote code execution that exfiltrated usernames and hashed passwords for the local device admin(s), portal admins, and user accounts used for remote access (but not external Active Directory or LDAP passwords)
From the CVE record by mitre, last updated October 21, 2025, 23:35 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| sophos | sfos | 17.0 | operating system |
| sophos | sfos | 17.1 | operating system |
| sophos | sfos | 17.5 | operating system |
| sophos | sfos | 18.0 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 02:51 UTC.
How severe is CVE-2020-12271?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.0 | CVSS:3.0/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:N | mitre |
| 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-2020-12271 exploited in the wild?
- CISA KEV
- Listed as Sophos SFOS SQL Injection Vulnerability, added November 3, 2021; federal agencies must act by May 3, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Known
- CISA's summary
- Sophos Firewall operating system (SFOS) firmware contains a SQL injection vulnerability when configured with either the administration (HTTPS) service or the User Portal is exposed on the WAN zone. Successful exploitation may cause remote code execution to exfiltrate usernames and hashed passwords for the local device admin(s), portal admins, and user accounts used for remote access (but not external Active Directory or LDAP passwords).
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, February 4, 2025)
- EPSS
- 43.1% probability of exploitation activity in the next 30 days, percentile 98.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://cwe.mitre.org/data/definitions/89.html x_refsource_MISC
- https://community.sophos.com/kb/en-us/135412 x_refsource_MISC
- https://news.sophos.com/en-us/2020/04/26/asnarok/ x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12271 government-resource
When was it published, and where is the official record?
- Reserved
- April 27, 2020
- Published
- April 27, 2020, 04:00 UTC
- CVE record updated
- October 21, 2025, 23:35 UTC by mitre
- NVD
- Analyzed, last modified June 17, 2026, 02:51 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:11 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Sfos?
- Jun 18, 2020CVE-2020-11503 Sophos Sfos: out-of-bounds write (memory corruption)
- Jun 20, 2019CVE-2018-16116 Sophos Sfos: SQL injection
- Jun 20, 2019CVE-2018-16117 Sophos Sfos: OS command injection
- Jun 20, 2019CVE-2018-16118 Sophos Sfos: OS command injection
- Jan 12, 2018CVE-2017-18014 Sophos Sfos: cross-site scripting (XSS)
Questions about CVE-2020-12271
Is CVE-2020-12271 exploited in the wild?
Yes. CISA added CVE-2020-12271 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of May 3, 2022. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 43.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Sophos Sfos are affected by CVE-2020-12271?
sfos 17.0, sfos 17.1, sfos 17.5 and sfos 18.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2020-12271?
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-2020-12271?
Critical (10.0, CVSS 3.0, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2020-12271?
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.