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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Fortinet | FortiWeb | 7.6.0 – ≤ 7.6.3, 7.4.0 – ≤ 7.4.7, 7.2.0 – ≤ 7.2.10, 7.0.0 – ≤ 7.0.10 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- FortiWeb Fabric Connector 7.6.x - SQL Injection to Remote Code Execution EDB-52473 · webapps · Feb 4, 2026
GitHub 12 repositories · most starred shown
-
watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257 ★ 100 · Jul 10, 2025
-
0xbigshaq/CVE-2025-25257 ★ 64 · Jul 11, 2025
FortiWeb CVE-2025-25257 exploit
-
TheStingR/CVE-2025-25257 ★ 5 · Jul 19, 2025
Public PoC for CVE-2025-25257: FortiWeb pre-auth SQLi to RCE
-
0xgh057r3c0n/CVE-2025-25257 ★ 2 · Jul 15, 2025
PoC 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.
-
segfault-it/CVE-2025-25257 ★ 1 · Sep 21, 2025
A working (at least for me :] ) exploit for CVE-2025-25257
-
mrmtwoj/CVE-2025-25257 ★ 1 · Jul 19, 2025
CVE‑2025‑25257 is a critical pre-authentication SQL injection vulnerability affecting Fortinet FortiWeb’s
-
imbas007/CVE-2025-25257 ★ 1 · Jul 12, 2025
-
aitorfirm/CVE-2025-25257 ★ 1 · Jul 12, 2025
Exploiting the CVE-2025-25257 vulnerability in FortiWeb. This repository demonstrates secure pre-authenticated SQL injection.
-
mr-r3b00t/CVE-2025-25257 ★ 0 · Nov 11, 2025
CVE-2025-25257 PoC for educational use and/or authorised pentesting.
-
adilburaksen/CVE-2025-25257-Exploit-Tool ★ 0 · Jul 12, 2025
Tool for detecting and exploiting CVE-2025-25257 in Fortinet FortiWeb.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Fortinet FortiWeb - SQL Injection http/cves/2025/CVE-2025-25257.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 2
- WID-SEC-2025-1489 Fortinet FortiWeb: Schwachstelle ermöglicht SQL Injection BSI CERT-Bund (WID) · Jul 20, 2025
- NCSC-2025-0226 Kwetsbaarheid verholpen in FortiWeb NCSC-NL (Netherlands) · Jul 11, 2025