CVE-2025-27759
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] in Fortinet FortiWeb version 7.6.0 through 7.6.3, 7.4.0 through 7.4.7, 7.2.0 through 7.2.10 and before 7.0.10 allows an authenticated privileged attacker to execute unauthorized code or commands via crafted CLI commands
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceOS command injection vulnerability in FortiWeb's CLI interface allows authenticated privileged attackers to execute arbitrary OS commands through specially crafted CLI commands, exploiting improper neutralization of special elements in command input.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 7.0.0, < 7.0.11>= 7.2.0, < 7.2.11>= 7.4.0, < 7.4.8>= 7.6.0, < 7.6.4CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check FortiWeb firmware versionLog into the FortiWeb CLI and run the command 'get system status' or access the web UI under Dashboard > Status to view the firmware version.Affected if The version displayed falls within these ranges: 7.0.0 through 7.0.10, 7.2.0 through 7.2.10, 7.4.0 through 7.4.7, or 7.6.0 through 7.6.3.
-
Verify CLI access is enabledConfirm that the FortiWeb CLI interface is accessible. This is typically enabled by default for administrator profiles. Check via the web UI under System > Admin > Administrators or via 'show system admin' in CLI.Affected if CLI access is available to any administrative user accounts on the system.
-
Identify privileged CLI usersReview the list of administrator accounts with privileged access. In CLI, use 'get system admin' or check System > Admin > Administrators in the web UI to see which accounts have sufficient privileges to execute CLI commands.Affected if There are one or more administrator accounts with CLI command execution privileges (not read-only accounts).
-
Check for unauthorized CLI command executionReview FortiWeb logs for suspicious or unexpected CLI commands. Use 'execute log filter category event' and then 'execute log display' to inspect recent CLI activity, looking for commands that appear unusual or malicious.Affected if Logs show CLI commands that were not initiated by authorized administrators, or commands containing unusual character sequences that may indicate injection attempts.
Your FortiWeb instance is affected if it runs a version within 7.0.0-7.0.10, 7.2.0-7.2.10, 7.4.0-7.4.7, or 7.6.0-7.6.3 and has CLI access available to privileged users.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped7.0.117.2.117.4.8
Apply Fortinet's patches: upgrade to version 7.6.4 or later, 7.4.8 or later, 7.2.11 or later, or 7.0.10 or later. Restrict CLI access to only necessary privileged personnel and monitor for unauthorized command execution.
7.0.11 or later for 7.0.x branch; 7.2.11 or later for 7.2.x branch; 7.4.8 or later for 7.4.x branch; 7.6.4 or later for 7.6.x branch
- 1. Identify the currently running FortiWeb version by navigating to System -> Status in the FortiWeb GUI or using 'get system status' in the CLI
- 2. Determine which version branch you are on (7.0.x, 7.2.x, 7.4.x, or 7.6.x)
- 3. Download the appropriate firmware upgrade from Fortinet Customer Support portal (https://support.fortinet.com/) for your version branch
- 4. Backup the FortiWeb configuration via System -> Maintenance -> Backup & Restore in the GUI or 'execute backup full-config' CLI command
- 5. Upload the firmware file via System -> Maintenance -> Firmware in the GUI or 'execute firmware upgrade' CLI command
- 6. Reboot the device to apply the new firmware
- 7. After reboot, verify the upgrade was successful by checking the version in System -> Status or using 'get system status' and confirm the version is 7.0.11+, 7.2.11+, 7.4.8+, or 7.6.4+
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing6.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,872.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-27759 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-27759 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data