Critical severity · published Jul 21, 2025
CVE-2025-6704
An arbitrary file writing vulnerability in the Secure PDF eXchange (SPX) feature of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to pre-auth remote code…
9.8
CVSS
11.8%
EPSS
No
On KEV
Description
An arbitrary file writing vulnerability in the Secure PDF eXchange (SPX) feature of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to pre-auth remote code execution, if a specific configuration of SPX is enabled in combination with the firewall running in High Availability (HA) mode.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)11.8% · higher than 96% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FI
Firewall · Sophos
before 21.0 MR2 (21.0.2) · source: vendor
FF
Firewall Firmware · Sophos
before 21.0.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-6704
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-6704
Vendor Advisory
https://www.sophos.com/en-us/security-advisories/sophos-sa-20250721-sfos-rce
More from Firewall
9.8
CVE-2022-3236
Sophos Firewall Code Injection Vulnerability
9.8
CVE-2022-1040
Sophos Firewall Authentication Bypass Vulnerability
9.8
CVE-2020-12271
Sophos SFOS SQL Injection Vulnerability
9.8
CVE-2025-7624
An SQL injection vulnerability in the legacy (transparent) SMTP proxy of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to remote code execution, if a quarantining…
9.8
CVE-2024-12728
A weak credentials vulnerability potentially allows privileged system access via SSH to Sophos Firewall older than version 20.0 MR3 (20.0.3)
