Sophos Firewall <21.0.2 SPX ARW pre-auth RCE
CVE-2025-6704 Published on July 21, 2025
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.
Vulnerability Analysis
CVE-2025-6704 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2025-6704 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2025-6704
Want to know whenever a new CVE is published for Sophos Firewall Firmware? stack.watch will email you.
Affected Versions
Sophos Firewall:- Before 21.0 MR2 (21.0.2) is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.