CVE-2025-25254: Fortinet FortiWeb · Execute unauthorized code or commands
Affects Fortinet FortiWebSource CVE Database V5
Not known to be exploited · 17% EPSS · CVSS 6.8 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 17.0% chance of exploitation in 30 days – higher than 97% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:X/RC:CExploitation evidence
Disclosed: evidence found.
CVE published 8 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Fortinet FortiWeb | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2025-25254 effectively, organizations should implement a multi-layered approach beyond generic patching advice. First, restrict administrative access to FortiWeb appliances using strong authentication mechanisms such as multi-factor authentication (MFA) and enforce least privilege principles to minimize the number of users with admin rights. Monitor and audit administrative activities closely to detect anomalous behavior indicative of exploitation attempts. Network segmentation should isolate FortiWeb devices from general user networks to reduce exposure. Until an official patch is released, consider deploying virtual patching or compensating controls such as strict input validation and web application firewall rules to detect and block suspicious path traversal attempts. Regularly update Fortinet FortiWeb firmware as soon as patches become available and subscribe to Fortinet security advisories for timely information. Conduct internal penetration testing and vulnerability assessments focusing on administrative interfaces to identify potential weaknesses. Finally, maintain comprehensive backups of FortiWeb configurations and system states to enable rapid recovery in case of compromise.
Description
An Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability [CWE-22] in FortiWeb version 7.6.2 and below, version 7.4.6 and below, 7.2 all versions, 7.0 all versions endpoint may allow an authenticated admin to access and modify the filesystem via crafted requests.