# CVE-2024-12727: Pre-auth SQL injection in Sophos Firewall

- Vendor: Sophos, Sophos Firewall
- Severity: CRITICAL (CVSS 3.1 9.8)
- Exploited (CISA KEV): not listed
- EPSS: 1.4% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: sophos-sa-20241219-sfos-rce, https://www.sophos.com/en-us/security-advisories/sophos-sa-20241219-sfos-rce
- Published: 2024-12-19; updated: 2024-12-19
- Page: https://patchtonight.com/cve/CVE-2024-12727/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Sophos Firewall 0 | 21.0 MR1 (21.0.1) or later |

## The vendor's description

A pre-auth SQL injection vulnerability in the email protection feature of Sophos Firewall versions older than 21.0 MR1 (21.0.1) allows access to the reporting database and can lead to remote code execution if a specific configuration of Secure PDF eXchange (SPX) is enabled in combination with the firewall running in High Availability (HA) mode.

## Sources

- [Sophos advisory](https://www.sophos.com/en-us/security-advisories/sophos-sa-20241219-sfos-rce)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
