Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2020-12271: Sophos SFOS SQL Injection Vulnerability

100
Patch now
CRITICAL 9.8EXPLOITEDREMOTEMITIGATE

CVE-2020-12271 is a critical-severity flaw (CVSS 9.8) affecting sfos, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Exploited in the wild (CISA KEV)
  • Used in ransomware campaigns
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance42.4% (top 1%)
CISA exploited listYes, fix due 2022-05-03, used in ransomware
WeaknessCWE-89
Published2020-04-27
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: sophos

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

sophos sfos MITIGATE
Affected: 17.0 · 17.1 · 17.5 · 18.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 17.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · feh · FIXED · 3.13.1-1.fc46 · FEDORA-2026-3c76a13a4f · source
sudo dnf upgrade --advisory=FEDORA-2026-3c76a13a4f
Fedora ELN · setroubleshoot · FIXED · 3.3.37-7.eln159 · FEDORA-2026-f81b122fe1 · source
sudo dnf upgrade --advisory=FEDORA-2026-f81b122fe1

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2020-12271?

sfos: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2020-12271 being exploited?

Yes. CVE-2020-12271 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2020-12271 affect?

CVE-2020-12271 affects sfos. Severity is critical (CVSS 9.8). 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 t

How urgent is CVE-2020-12271?

Priority 100/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Software pages

Sophos vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.