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.
do firstApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Can a WAF block it? Yes. SQL injection puts SQL syntax into a request parameter, and WAF signatures recognise that syntax well. Cloudflare also publishes a rule written for this CVE.
Cloudflare · 1 rule (Block) · since 28 Jul 2025
- Fortinet FortiWeb - Remote Code Execution - CVE:CVE-2025-25257 · Cloudflare Managed Ruleset
Also consider: parameterized queries · ORM
Based on WAF vendor rules published for this CVE. We check Cloudflare, AWS, Google Cloud Armor and Azure; for Akamai, Imperva, Fastly, F5, ask your vendor.
Is CVE-2025-25257 being exploited?
Yes. CVE-2025-25257 appears in CISA's Known Exploited Vulnerabilities catalog, which means exploitation in the wild has been confirmed and reported. Treat it as active rather than theoretical, and patch it ahead of higher-scoring vulnerabilities that carry no exploitation evidence.
How severe is CVE-2025-25257?
CVE-2025-25257 is rated Critical with a CVSS score of 9.8. Severity describes how bad exploitation would be, not how likely it is: pair it with exploitation evidence before deciding what to patch first.
Is there a patch for CVE-2025-25257?
Yes. A fix has been recorded for CVE-2025-25257. The vendor advisory is the authority on the exact fixed version — apply it from there rather than from a summary.
What does CVE-2025-25257 affect?
CVE-2025-25257 affects fortinet:fortiweb. Confirm the exact affected versions against the vendor advisory before deciding you are exposed.
Exploitation status reflects CISA's KEV catalog as we last synced it. Check the catalog directly.
- affected>= 7.6.0 and <= 7.6.3
- affected>= 7.4.0 and <= 7.4.7
- affected>= 7.2.0 and <= 7.2.10
- affected>= 7.0.0 and <= 7.0.10
As published in the CVE Program record. A version outside these ranges is not a statement that it is unaffected — vendors sometimes understate a range, and distribution-backported builds carry upstream numbers that do not reflect what was patched into them.
public exploits
Public exploit code: 1 on Exploit-DB · 12 GitHub proofs of concept · 1 Nuclei template
- FortiWeb Fabric Connector 7.6.x - SQL Injection to Remote Code Execution · webapps · 4 Feb 2026
- Fortinet FortiWeb - SQL Injection · detection template · critical
- watchtowrlabs/watchTowr-vs-FortiWeb-CVE-2025-25257 · 100 ★
- 0xbigshaq/CVE-2025-25257 · 64 ★
- TheStingR/CVE-2025-25257 · 5 ★
- 0xgh057r3c0n/CVE-2025-25257 · 2 ★
Listed so you can judge urgency, not as a recommendation to run anything. GitHub “proofs of concept” are unvetted: some are fake or carry malware. Exploit-DB marks the entries its staff verified.
cisa ssvc
- exploitation
- active
- automatable
- yes
- technical impact
- total
Assessed by CISA 18 Jul 2025 (SSVC 2.0.3).
timeline
- 10 Jul 2025First public exploit or proof of concept
- 17 Jul 2025Published · 8 days later
- 18 Jul 2025Added to CISA KEV (exploited in the wild) · same day later
- 18 Jul 2025CISA SSVC assessment: exploitation active · same day later
- 8 Aug 2025CISA remediation due date (US federal agencies) · 21 days later
- 26 Feb 2026CVE record last updated · 203 days (about 7 months) later
- 2 Nov 2026Analysed by vulneraibility.com · 249 days (about 8 months) later
- Exploitgithub.com /0xbigshaq/CVE-2025-25257
- Linkfortiguard.fortinet.com /psirt/FG-IR-25-151
- Linkcisa.gov /known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-25257
- Linkexploit-db.com /exploits/52473
- Linkpacketstorm.news /files/id/210193/
sources
- CVE List (CVE.org): description, affected versions, references; CVE Terms of Use
- NVD: CVSS and CPE data
- CISA KEV catalog: exploitation, date added, due date
- CISA Vulnrichment (ADP): SSVC decision points
- FIRST EPSS: exploit probability and percentile
- Exploit-DB: published exploits
- Nuclei templates: detection templates
- PoC-in-GitHub: GitHub repositories that claim a proof of concept
- Summary, impact and triage tags: written by our AI analysis pipeline from the sources above. Check them against the sources.