Skip to content
Server Security Center
KEVcritical9.6

CVE-2025-25257: Fortinet FortiWeb SQL Injection

Fortinet FortiWeb · listed in the CISA catalog of actively exploited vulnerabilities since 2025-07-18.

CVSS v3.1 (CVE record)
9.6
critical
EPSS (exploit probability, 30 days)
99.9%
among the highest 0.1% of all CVEs
Added to CISA KEV
2025-07-18
US federal due date 2025-08-08
Automatable (CISA SSVC)
yes
technical impact: total

CVE-2025-25257 explained

CVE-2025-25257 is an SQL injection vulnerability in Fortinet FortiWeb. An unauthenticated attacker can execute unauthorized SQL code or commands by sending crafted HTTP or HTTPS requests. CISA lists it as known to be exploited, which makes patching affected FortiWeb devices urgent.

Impact

A remote attacker needs no credentials and no user interaction, and the attack has low complexity. Successful exploitation can lead to high impact on confidentiality, integrity and availability. CISA rates it as automatable, so it can be exploited at scale, with total technical impact, meaning full control of the affected component. Attackers are known to use this vulnerability; ransomware use is unknown.

Who is affected

Fortinet FortiWeb is affected in versions 7.0.0 up to and including 7.0.10, 7.2.0 up to and including 7.2.10, 7.4.0 up to and including 7.4.7, and 7.6.0 up to and including 7.6.3. Fixed versions are 7.0.11, 7.2.11, 7.4.8 and 7.6.4.

Written with AI from the data on this page and checked against it automatically.

Official description

An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89] vulnerability in Fortinet FortiWeb 7.6.0 through 7.6.3, FortiWeb 7.4.0 through 7.4.7, FortiWeb 7.2.0 through 7.2.10, FortiWeb 7.0.0 through 7.0.10 allows an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Fortinet FortiWeb
    Affected
    • ≥ 7.0.0, ≤ 7.0.10
    • ≥ 7.2.0, ≤ 7.2.10
    • ≥ 7.4.0, ≤ 7.4.7
    • ≥ 7.6.0, ≤ 7.6.3
    Fixed in
    • 7.0.11
    • 7.2.11
    • 7.4.8
    • 7.6.4

    Fixed versions taken from the CNA solution text.

How to fix it

  • Update to a fixed version: 7.0.11, 7.2.11, 7.4.8, 7.6.4.
  • Vendor advisory: fortiguard.fortinet.com/psirt/FG-IR-25-151
  • CISA's deadline for US federal agencies: 2025-08-08 (passed) – a useful benchmark for everyone else, too.

What to do

  1. Upgrade FortiWeb to a fixed version: 7.0.11, 7.2.11, 7.4.8 or 7.6.4, matching your current release line.
  2. Follow the Fortinet advisory and apply its mitigations if you cannot upgrade immediately.
  3. Restrict network access to FortiWeb management and HTTP/HTTPS interfaces; keep management interfaces off the internet.
  4. Check affected devices for signs of compromise, since the vulnerability is known to be exploited.
  5. If mitigations are unavailable, discontinue use of the product as CISA's required action states.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-89 Execute unauthorized code or commands

Questions about CVE-2025-25257

Does an attacker need to log in to exploit CVE-2025-25257?
No. The description states an unauthenticated attacker can execute unauthorized SQL code or commands through crafted HTTP or HTTPS requests. No user interaction is required.
Is this vulnerability being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2025-07-18, with a US federal due date of 2025-08-08. Whether it is used in ransomware campaigns is unknown.
Which FortiWeb version should I install?
Install the fixed version for your release line: 7.0.11, 7.2.11, 7.4.8 or 7.6.4, as listed in the CVE record.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.