CVE-2025-6704

CRITICAL
Published Jul 21, 2025 Modified Aug 18, 2025 CWE-78

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 v3.1 Score

9.8
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness Type (CWE)

CWE-78 OS Command Injection

Affected Products

Vendor Product
sophos firewall_firmware
sophos firewall

References

Frequently Asked Questions

What is 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 execution, if a specific configuration of SPX is enabled in combination with the firewall running in High Availability (HA) mode. It has a CVSS v3.1 base score of 9.8 (CRITICAL).
How severe is CVE-2025-6704? +
CVE-2025-6704 has a CVSS v3.1 score of 9.8 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-6704? +
CVE-2025-6704 affects products from sophos, specifically: firewall, firewall_firmware. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-6704? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-6704 — free, no signup required.

Start Free Scan