CVE-2025-6704 Details
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.
A vulnerability allowing arbitrary file writing in the Secure PDF eXchange (SPX) feature of Sophos Firewall has been identified. This issue affects versions prior to 21.0 MR2 (21.0.2) and can lead to pre-authentication remote code execution. The vulnerability arises when a specific SPX configuration is enabled, combined with the firewall operating in High Availability (HA) mode).
Users of Sophos Firewall versions prior to 21.0 MR2 should upgrade to version 21.0 MR2 or a later version. For those on supported versions, hotfixes have been released. Instructions for verifying the hotfix can be found on the Sophos support website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.sophos.com/en-us/security-advisories/sophos-sa-20250721-sfos-rce | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sophos firewall firmware | < 21.0.2 |
CPE
Remediation
| |
| sophos firewall | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 18, 2025 | Initial Analysis | [email protected] |
| Jul 21, 2025 | New CVE Received | [email protected] |