Arbitrary file upload in Sophos Firewall - CVE-2025-6704

 

Arbitrary file upload in Sophos Firewall - CVE-2025-6704

Published: July 21, 2025 / Updated: July 22, 2025


Vulnerability identifier: #VU113095
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-6704
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to insufficient validation of file during file upload in the Secure PDF eXchange (SPX) feature. A remote attacker can upload a malicious file and execute it on the system.

Successful exploitation of the vulnerability requires a specific configuration of SPX in combination with the firewall running in High Availability (HA) mode.


Affected software

Sophos Firewall

How to mitigate CVE-2025-6704

Install updates from vendor's website.

Sophos Firewall - update to 21.0 MR2

External References

Related Security Bulletins