CVE-2025-25254 Path traversal in FortiWeb

Medium 6.8 Published Updated

Authenticated administrators can access and modify the filesystem via crafted requests due to a path traversal vulnerability in FortiWeb.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-25254?

CVE-2025-25254 is a medium-severity path traversal vulnerability in Fortinet Fortiweb, published on 8 Apr 2025. An attacker needs administrator access to exploit it, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2025-25254?

It affects 1 product.

Products include Fortinet Fortiweb.

How do I fix CVE-2025-25254?

No fix has been published for CVE-2025-25254 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-25254 being exploited?

There is no known exploitation of CVE-2025-25254 in the wild and no public exploit code.

All Fortinet Fortiweb vulnerabilities

Sources

Also known as GHSA-q7jr-v677-ww76.

Is CVE-2025-25254 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free