draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2025-25257: Fortinet FortiWeb SQL Injection Vulnerability

Exploited in attacksPublic exploit code

Yes. CVE-2025-25257 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 18 July 2025. Public exploit code is available: 1 Exploit-DB entry and a Nuclei detection template. EPSS puts the chance of further exploitation attempts in the next 30 days at 99.9%.

Exploited in real attacks
Yes. On CISA's exploited list since 18 July 2025
Used in ransomware
Not known
Public exploit code
1 Exploit-DB entry and a Nuclei detection template
Chance of exploitation (EPSS)
99.9% in the next 30 days, higher than 99.9% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
9.6 Critical (version 3.1)
Affects
Fortinet FortiWeb
Type of flaw
SQL injection (CWE-89)
Published
17 July 2025
US federal patch deadline
8 August 2025

What it is

Fortinet FortiWeb contains a SQL injection vulnerability that may allow an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.

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.

Description from the CVE record.

Is CVE-2025-25257 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2025-25257 on 18 July 2025. That was 1 day after the CVE was published.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's 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.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Fortinet FortiWeb runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. Assume it has been scanned. A public Nuclei template exists for this flaw, so finding exposed systems across the internet is automated.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in FortiWeb. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Fortinet products

CVEWhat it affectsStatusEPSSPublished
CVE-2025-61624Fortinet Multiple ProductsNo public exploit found1.3%14 April 2026
CVE-2026-104286Fortinet FortiMailPublic exploit48.4%1 October 2026
CVE-2025-25249Fortinet Multiple ProductsNo public exploit found3.7%13 January 2026
CVE-2025-68686Fortinet FortiOSNo public exploit found29.5%10 February 2026
CVE-2026-39808Fortinet FortiSandboxPublic exploit93.6%14 April 2026
CVE-2026-25089Fortinet FortiSandboxNo public exploit found76.7%9 June 2026

Sources

Machine-readable: /api/cve/CVE-2025-25257.json