CVE-2025-25257: Fortinet FortiWeb SQL Injection Vulnerability
CVE-2025-25257 is a critical-severity flaw (CVSS 9.8) affecting fortiweb, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 99.9% (top 1%) |
| CISA exploited list | Yes, fix due 2025-08-08 |
| Weakness | CWE-89 |
| Published | 2025-07-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257 (100 stars)
- GitHub PoC: 0xbigshaq/CVE-2025-25257 (64 stars)
- GitHub PoC: TheStingR/CVE-2025-25257 (5 stars)
- GitHub PoC: 0xgh057r3c0n/CVE-2025-25257
- Exploit-DB: Fortinet FortiWeb Fabric Connector 7.6.x - SQL Injection (SQLi) to Remote Code Execution (RCE)
- Nuclei scan template: Fortinet FortiWeb - SQL Injection
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-25257?
fortiweb: upgrade to 7.0.11, 7.2.11, 7.4.8, 7.6.4. Exact commands for each OS are on this page.
Is CVE-2025-25257 being exploited?
Yes. CVE-2025-25257 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2025-25257 affect?
CVE-2025-25257 affects fortiweb. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2025-25257?
Priority 97/100. Critical severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-39814 MEDIUM 6.7 UPGRADE Multiple Relative Path Traversal vulnerabilities [CWE-23] vulnerability in Fortinet FortiWeb 8.0.0 through 8.0
- CVE-2023-23783 MEDIUM 6.7 UPGRADE A use of externally-controlled format string in Fortinet FortiWeb version 7.0.0 through 7.0.1, FortiWeb 6.4 al
- CVE-2026-39811 MEDIUM 4.9 UPGRADE A integer overflow or wraparound vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.3, FortiWeb 7.6.0 throug
- CVE-2026-70466 MEDIUM 5.3 UPGRADE A incomplete list of disallowed inputs vulnerability [CWE-184] vulnerability in Fortinet FortiWeb 8.0.0 throug
- CVE-2026-26035 CRITICAL 9.8 UPGRADE An Improper Authentication vulnerability [CWE-287] vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.2, For