Skip to main content
CVE-2025-47857VulnerabilityPublished Updated

CVE-2025-47857: Fortinet FortiWeb · Execute unauthorized code or commands

Affects Fortinet FortiWebSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:C

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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-26.

What to do

Affected software

ProductAffectedFixed in
Fortinet FortiWebAffected
  • =7.6.0
  • =7.4.1
Fixed in–

AI-suggested

To mitigate CVE-2025-47857, organizations should prioritize upgrading FortiWeb devices to versions later than 7.6.3 or 7.4.8 once patches are available. Until patches are released, restrict CLI access strictly to trusted administrators and enforce strong authentication and authorization controls to limit privileged access. Implement network segmentation to isolate management interfaces of FortiWeb devices from general user networks and the internet. Monitor CLI command logs for unusual or unauthorized commands indicative of exploitation attempts. Employ multi-factor authentication for administrative access to reduce risk of credential compromise. Conduct regular audits of privileged accounts and remove unnecessary privileges. Additionally, consider deploying intrusion detection systems to identify anomalous command execution patterns. Maintain up-to-date backups of device configurations to enable rapid recovery if compromise occurs. Finally, stay informed through Fortinet advisories and threat intelligence feeds for updates on patches and exploitation activity.

Description

A improper neutralization of special elements used in an os command ('os command injection') vulnerability [CWE-78] in Fortinet FortiWeb CLI version 7.6.0 through 7.6.3 and before 7.4.8 allows a privileged attacker to execute arbitrary code or command via crafted CLI commands.

References

Community reviews

Loading reviews…