CVE-2025-25257An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability [CWE-89] vulnerability in Fortinet…
- 9.6CriticalCVSS base score
- 99.9%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 18 Jul 2025
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Fortinet FortiWeb SQL Injection Vulnerability.
- Added
- 18 Jul 2025
- Fix due (US federal)
- 8 Aug 2025
- Used by ransomware
- Not known
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 18 Jul 2025.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template and an Exploit-DB entry for it. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits3
Nuclei templates1 template
- Fortinet FortiWeb - SQL Injection (Nuclei template) (opens in a new tab)
http/cves/2025/CVE-2025-25257.yamlSeverity critical
Exploit-DB1 entry
- FortiWeb Fabric Connector 7.6.x - SQL Injection to Remote Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 52473webapps, multiplepublished 4 Feb 2026Not verified
References tagged exploit1 reference
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By fortinet
- 5 months later
· 5 months later
Published
- 1 day later
· 1 day later
Added to CISA KEV
Known exploited in the wild
- 7 months later
· 7 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| fortinetCNA (assigner) | 3.1 | Critical9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:C |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 99.9% · top 0.1% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.6.
Affected products
What to do
Solution: 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
References
References5
- https://fortiguard.fortinet.com/psirt/FG-IR-25-151 (opens in a new tab)
- https://github.com/0xbigshaq/CVE-2025-25257 (opens in a new tab)exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-25257 (opens in a new tab)government-resource
- https://www.exploit-db.com/exploits/52473 (opens in a new tab)
- https://packetstorm.news/files/id/210193/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-21785 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-25257)Record last updated .