SQL Injection in Fortinet Fortiweb
CVE-2025-25257
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.
Vulnerability class: SQL Injection
EPSS: 0.998 (100.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Fortinet Fortiweb — versions 7.6.0, 7.4.0, 7.2.0
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
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.
Public proof-of-concept exploits
- watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257
- 0xbigshaq/CVE-2025-25257
- TheStingR/CVE-2025-25257
- segfault-it/CVE-2025-25257
- mrmtwoj/CVE-2025-25257
- aitorfirm/CVE-2025-25257
- 0xgh057r3c0n/CVE-2025-25257
- imbas007/CVE-2025-25257
- GarethMSheldon/Fortinet-FortiWeb-Fabric-Connector-CVE-2025-25257-Detection
- lytianahkone-boop/cve-2025-25257
References
- psirt@fortinet.com (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Exploit, Third Party Advisory, VDB Entry)
- af854a3a-2127-422b-91ae-364da2661108 (Exploit, Third Party Advisory, VDB Entry)
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Third Party Advisory)
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (US Government Resource)
Frequently asked questions
- What is CVE-2025-25257?
- CVE-2025-25257 is a critical-severity vulnerability in Fortinet Fortiweb, classified under SQL Injection. CVSS score: 9.8/10. Published 2025-07-17.
- How severe is CVE-2025-25257?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2025-25257 known to be exploited?
- Yes. CVE-2025-25257 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2025-07-18), indicating it is being actively exploited. 28 public proof-of-concept repositories are indexed.