CVE-2025-7382 Command injection in Sophos Firewall

High 8.8 Published Updated

Adjacent attackers can achieve pre-auth code execution on HA auxiliary devices if OTP authentication is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-7382?

CVE-2025-7382 is a high-severity command injection vulnerability in Sophos Firewall, published on 21 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A command injection vulnerability in WebAdmin of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to adjacent attackers achieving pre-auth code execution on High Availability (HA) auxiliary devices, if OTP authentication for the admin user is enabled.

Weakness: CWE-78

Which versions are affected by CVE-2025-7382?

It affects 1 product.

Products include Sophos Firewall Firmware.

How do I fix CVE-2025-7382?

No fix has been published for CVE-2025-7382 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-7382 being exploited?

There is no known exploitation of CVE-2025-7382 in the wild and no public exploit code.

Sources

Also known as GHSA-848r-3x2j-g9jr.

Is CVE-2025-7382 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free