CVE-2025-7624: SQL Injection

Published Jul 21, 2025
·
Updated

An SQL injection vulnerability in the legacy (transparent) SMTP proxy of Sophos Firewall versions older than 21.0 MR2 (21.0.2) can lead to remote code execution, if a quarantining policy is active for Email and SFOS was upgraded from a version older than 21.0 GA.

Affected Software

3 affected components
Sophos Firewall<21.0.2
All of the following
Sophos Firewall Firmware<21.0.2
Sophos Firewall

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Sophos Firewall (legacy transparent SMTP proxy) to a version that resolves this vulnerability.

    Fixed in 21.0.2
  2. Compensating control

    Ensure a quarantining policy for Email is not active when legacy transparent SMTP proxy exposure is possible (SQL injection can lead to RCE if a quarantining policy is active and SFOS was upgraded from before 21.0 GA to a version older than 21.0 MR2).

Event History

Jul 21, 2025
CVE Published
via MITRE·01:24 PM
Data Sourced
via MITRE·01:24 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-7624?

CVE-2025-7624 is classified as a critical vulnerability due to its potential to lead to remote code execution.

2

How do I fix CVE-2025-7624?

To fix CVE-2025-7624, upgrade Sophos Firewall to version 21.0 MR2 (21.0.2) or later.

3

Which versions of Sophos Firewall are affected by CVE-2025-7624?

CVE-2025-7624 affects Sophos Firewall versions prior to 21.0 MR2 (21.0.2).

4

What type of vulnerability is CVE-2025-7624?

CVE-2025-7624 is an SQL injection vulnerability that can lead to remote code execution.

5

What conditions must be met for CVE-2025-7624 to be exploited?

CVE-2025-7624 can be exploited if a quarantining policy is active for Email and the firewall was upgraded from a version older than 21.0 GA.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203