CVE-2025-6704: Sophos Firewall Firmware RCE

CVE-2025-6704

NVDCVSS scored by security-alert@sophos.com

Vulnerability Summary

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.
Severity Level
CRITICAL(9.8)
Published Date
Jul 21, 2025
Last Modified
Aug 18, 2025
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
The software constructs all or part of an OS command using externally-influenced input, but does not properly neutralize special elements.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Sophos Firewall Firmware < 21.0.2
Patched Versions
  • Sophos Firewall Firmware 21.0.2

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.

  1. Check whether you run Sophos Firewall Firmware and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 21, 2025Published
  • Aug 18, 2025Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Sophos Firewall Firmware CVEsYou are reading CVE-2025-6704. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 4, 2026 02:10 UTC