Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🛡️
CISA KEV · ACTIVELY EXPLOITED
CRITICAL severity

CVE-2025-25257 — Fortiweb

CRITICAL

CVE-2025-25257 is a critical-severity (CVSS 9.8) SQL Injection vulnerability in fortinet fortiweb. It is in CISA's Known Exploited Vulnerabilities catalog (added 2025-07-18) — treat it as actively exploited and patch now. No vendor fix is recorded yet; mitigation options are listed below.

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…

Published
Updated
Affected
1 product
Patched
See advisory
Exploits
4 known
Exploitation data as of Oct 23, 2026 · OSV.dev, NVD, CISA KEV, FIRST.org (EPSS)

Exploitation Status

Actively exploited in the wild

  • Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2025-07-18. Federal agencies were required to remediate by 2025-08-08.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2025-25257.

EPSS Exploitation Probability

via FIRST.org ↗
99.9%probability of exploitation in next 30 days
Very High Risk+0.15%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
0.00%33.3%66.7%100.0%25.3%99.9%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2025-25257 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).

Where this sits among everything scored

Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.

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

1 product · 34 configurations
Application
fortiwebfortinet
34 versions
7.0.07.0.17.0.27.0.37.0.47.0.57.0.67.0.77.0.87.0.97.0.107.2.0
Exploits & PoCs
4

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-52473webappsmultiple

FortiWeb Fabric Connector 7.6.x - SQL Injection to Remote Code Execution

by Milad Karimi (Ex3ptionaL) · Feb 4, 2026

Detection & mitigation playbook

Vendor / appliance
  1. Detect

    Inventory every fortinet fortiweb deployment and check each version against the affected-products list above.

  2. Remediation status

    No patch has shipped for CVE-2025-25257 yet — track the fortinet fortiweb advisory for a fixed release and apply the workarounds below in the meantime.

  3. Mitigate without a patch

    Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.

How to detect CVE-2025-25257

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id cve-2025-25257 -u https://target
Template
Fortinet FortiWeb - SQL Injection
Severity
critical
Impact
An attacker can exploit this vulnerability to execute unauthorized SQL commands, potentially leading to data exposure, data manipulation, or system compromise.
Remediation
Apply the latest security patches provided by Fortinet to fix the SQL injection vulnerability in FortiWeb.

Template by ProjectDiscovery nuclei-templates (watchtowr, johnk3r), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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.
O3 Security · Runtime Protection

Is CVE-2025-25257 being exploited in your environment?

Detect and block the exploit chain at execution, on systems you cannot patch yet.

CVE-2025-25257: Fortiweb SQL Injection (Critical 9.8, KEV)