patchminder
Exploited in the wild · CISA KEV CVE-2025-25257

SQL injectionin Fortinet FortiWeb.

Published 17 Jul 2025 · Updated 26 Feb 2026 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 18 Jul 2025.

On CISA's listAttack code is public
Severity
Critical 9.6
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Very high
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 99.9% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
No source names a fixed version yet
In plain words

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: 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.

What to do now
  • Upgrade to FortiWeb version 7.6.4 or above Upgrade to FortiWeb version 7.4.8 or above Upgrade to FortiWeb version 7.2.11 or above Upgrade to FortiWeb version 7.0.11 or above
  • CISA requires US federal agencies to fix it by 8 Aug 2025.

Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
FortiWeb
7.6.0 to 7.6.3
Not confirmed
CVE record
FortiWeb
7.4.0 to 7.4.7
Not confirmed
CVE record
FortiWeb
7.2.0 to 7.2.10
Not confirmed
CVE record
FortiWeb
7.0.0 to 7.0.10
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 5 Feb 2025
    CVE ID reserved by fortinet.
  2. 10 Jul 2025
    First public proof of concept on GitHub.
  3. 17 Jul 2025
    Published in the CVE List.
  4. 18 Jul 2025
    Added to CISA's Known Exploited Vulnerabilities list.
  5. 26 Feb 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
Available
Exploit-DB
1 entry
GitHub proof of concepts
13 repositories
NucleiFortinet FortiWeb · SQL Injectiondetection template
Exploit-DBEDB-ID 52473web application exploit for multiple, published 4 Feb 2026
GitHubno warning signs foundwatchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257100 stars · created 10 Jul 2025
GitHubno warning signs found0xbigshaq/CVE-2025-2525764 stars · created 11 Jul 2025FortiWeb CVE-2025-25257 exploit
GitHubno warning signs foundTheStingR/CVE-2025-252575 stars · created 19 Jul 2025Public PoC for CVE-2025-25257: FortiWeb pre-auth SQLi to RCE
GitHubno warning signs found0xgh057r3c0n/CVE-2025-252572 stars · created 15 Jul 2025PoC for CVE-2025-25257, a critical unauthenticated SQL injection in FortiWeb. Exploits SQLi via the Authorization header to write a webshell and gain RCE. No login required. Fully automated.
GitHubno warning signs foundaitorfirm/CVE-2025-252571 stars · created 12 Jul 2025Exploiting the CVE-2025-25257 vulnerability in FortiWeb. This repository demonstrates secure pre-authenticated SQL injection.
GitHubno warning signs foundimbas007/CVE-2025-252571 stars · created 12 Jul 2025
GitHubno warning signs foundmrmtwoj/CVE-2025-252571 stars · created 19 Jul 2025CVE‑2025‑25257 is a critical pre-authentication SQL injection vulnerability affecting Fortinet FortiWeb’s
GitHubno warning signs foundsegfault-it/CVE-2025-252571 stars · created 21 Sep 2025A working (at least for me :] ) exploit for CVE-2025-25257
GitHubno warning signs foundadilburaksen/CVE-2025-25257-Exploit-Tool0 stars · created 12 Jul 2025Tool for detecting and exploiting CVE-2025-25257 in Fortinet FortiWeb.
GitHubno warning signs foundmr-r3b00t/CVE-2025-252570 stars · created 11 Nov 2025CVE-2025-25257 PoC for educational use and/or authorised pentesting.
Referencegithub.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other FortiWeb vulnerabilities

Same weakness: SQL injection

All CWE-89 vulnerabilities

References
Cite this page

Patchminder. CVE-2025-25257: SQL injection in Fortinet FortiWeb. https://patchminder.com/cve/cve-2025-25257/ (accessed 5 December 2026).