Actively Exploited, CISA KEV

CVE-2025-25257: Fortinet FortiWeb Vulnerability

Severity: Unknown | CVSS 3.1: N/A | KEV Added: 2025-07-18

What is CVE-2025-25257?

Fortinet FortiWeb contains a SQL injection vulnerability that may allow an unauthenticated attacker to execute unauthorized SQL code or commands via crafted HTTP or HTTPs requests.

Impact Analysis

Exploitation Probability (EPSS): 96.7% chance of exploitation in the next 30 days (100th percentile). This places the vulnerability in the highest risk tier, immediate action is critical.

Exploit Availability

Public exploit code or proof-of-concept is available for CVE-2025-25257. This significantly increases the risk of exploitation, as attackers can use or adapt existing exploit code rather than developing their own. A public exploit reference has been identified. Organizations should treat this as an urgent patching priority.

Is CVE-2025-25257 being exploited?

Yes. CVE-2025-25257 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, restricted to CVEs with confirmed active exploitation in the wild. CISA added this vulnerability on 2025-07-18. Inclusion in KEV triggers the patching mandate under BOD 22-01 for U.S. federal civilian agencies, with a remediation deadline of 2025-08-08. Additionally, public exploit code is available, which lowers the barrier for attackers.

How to fix CVE-2025-25257

Upgrade FortiOS or the affected product firmware to the fixed version listed in the FortiGuard PSIRT advisory. For FortiGate devices, use the firmware upgrade path tool to determine the correct upgrade sequence. If immediate patching is not possible, apply the recommended workaround (e.g. disabling affected features, restricting management interface access). Check the Fortinet PSIRT Advisories page for the specific patch or update. CISA's Known Exploited Vulnerabilities catalog requires U.S. federal agencies to remediate this vulnerability by the due date shown below under Binding Operational Directive 22-01. Private organizations should treat KEV entries as priority-one patches because active exploitation has been confirmed in the wild.

Related Vulnerabilities

Other actively exploited vulnerabilities affecting FortiWeb:

  • CVE-2025-58034 (High 7.2) [same product], An Improper Neutralization of Special Elements used in an OS Command ('OS…
  • CVE-2025-64446 (Critical 9.8) [same product], A relative path traversal vulnerability in Fortinet FortiWeb 8.0.0 through…
  • CVE-2026-25089 (Critical 9.8) [same vendor], A improper neutralization of special elements used in an os command ('os…
  • CVE-2026-39808 (Critical 9.8) [same vendor], A improper neutralization of special elements used in an os command ('os…
  • CVE-2026-21643 (Critical 9.8) [same vendor], An improper neutralization of special elements used in an sql command ('sql…

Frequently asked questions

Is CVE-2025-25257 critical?

CVE-2025-25257 has a CVSS 3.1 base score of N/A, Unknown severity. Prioritize based on exposure and the active exploitation signal from the KEV listing. The availability of public exploit code further increases the urgency.

Is CVE-2025-25257 being actively exploited?

Yes, CISA added CVE-2025-25257 to the Known Exploited Vulnerabilities catalog on 2025-07-18. Inclusion in KEV means CISA has confirmed in-the-wild exploitation. Public exploit code has also been identified, making exploitation accessible to a broader range of threat actors.

How do I patch CVE-2025-25257?

Apply the security update from Fortinet for FortiWeb. Federal agencies must remediate by 2025-08-08 under BOD 22-01. Refer to the Fortinet PSIRT Advisories for the official patch.

What is the CVSS score for CVE-2025-25257?

CVE-2025-25257 has a CVSS 3.1 base score of N/A, classifying it as Unknown severity.