CVE-2025-22254
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 Privilege Management vulnerability [CWE-269] vulnerability in Fortinet FortiOS 7.6.0 through 7.6.1, FortiOS 7.4.0 through 7.4.6, FortiOS 7.2.0 through 7.2.10, FortiOS 7.0.0 through 7.0.16, FortiOS 6.4.0 through 6.4.15, FortiProxy 7.6.0 through 7.6.1, FortiProxy 7.4.0 through 7.4.7, FortiWeb 7.6.0 through 7.6.1, FortiWeb 7.4.0 through 7.4.6 allows an authenticated attacker with at least read-only admin permissions to gain super-admin privileges via crafted requests to Node.js websocket module.
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 confidenceA privilege escalation vulnerability in FortiOS, FortiProxy, and FortiWeb allows authenticated users with read-only admin permissions to gain super-admin privileges by sending crafted requests to the Node.js websocket module, exploiting improper privilege management (CWE-269).
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>= 6.4.0, < 6.4.16>= 7.0.0, < 7.0.17>= 7.2.0, < 7.2.11>= 7.4.0, < 7.4.7>= 7.6.0, < 7.6.2>= 7.4.0, < 7.4.8>= 7.6.0, < 7.6.2>= 7.4.0, < 7.4.7>= 7.6.0, < 7.6.2CVSS 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
- Network
- Complexity
- Low
- Privileges
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/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.
-
Identify product and versionRun 'get system status' on FortiOS/FortiProxy CLI, or check FortiWeb GUI/Dashboard for firmware versionAffected if Version falls within any of the listed ranges: FortiOS 6.4.0-6.4.15, 7.0.0-7.0.16, 7.2.0-7.2.10, 7.4.0-7.4.6, 7.6.0-7.6.1; FortiProxy 7.4.0-7.4.7, 7.6.0-7.6.1; FortiWeb 7.4.0-7.4.6, 7.6.0-7.6.1
-
Check for read-only admin accountsRun 'get system admin user' and look for accounts with 'accprofile' set to 'read-only' or a limited profileAffected if Any read-only or limited-profile admin accounts exist on the device
-
Audit admin accounts for unexpected super-admin privilegesRun 'get system admin user' and verify that all accounts with 'accprofile' set to 'super_admin' or profileid 'super_admin' were intentionally created by legitimate administratorsAffected if Unknown or unexpected super-admin accounts are present
-
Review logs for websocket module accessCheck FortiOS/FortiProxy/FortiWeb logs (Log & Report > Event Log > System) for API or websocket requests from read-only admin accounts performing privileged operationsAffected if Logs show read-only accounts executing commands or accessing functions outside their expected权限
You are affected if your device runs a FortiOS, FortiProxy, or FortiWeb version within the affected ranges AND has read-only admin accounts that could be exploited to escalate to super-admin privileges.
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 · scoped6.4.167.0.177.2.11
Apply vendor-supplied patches to upgrade to FortiOS 7.6.2+, 7.4.7+, 7.2.11+, 7.0.17+, 6.4.16+; FortiProxy 7.4.8+ and 7.6.2+; FortiWeb 7.4.7+ and 7.6.2+. Limit admin account creation and monitor for unauthorized privilege escalation.
Upgrade to FortiOS 6.4.16+ / 7.0.17+ / 7.2.11+ / 7.4.7+ / 7.6.2+; FortiProxy 7.4.8+ / 7.6.2+; FortiWeb 7.4.7+ / 7.6.2+ depending on product line
- 1. Identify the Fortinet product (FortiOS, FortiProxy, or FortiWeb) currently deployed in your environment.
- 2. Check the current version of the installed product using the CLI command: `get system status` or `diagnose system info`.
- 3. Based on the product and current version, upgrade to the fixed version: For FortiOS 6.4.x, upgrade to 6.4.16 or later. For FortiOS 7.0.x, upgrade to 7.0.17 or later. For FortiOS 7.2.x, upgrade to 7.2.11 or later. For FortiOS 7.4.x, upgrade to 7.4.7 or later. For FortiOS 7.6.x, upgrade to 7.6.2 or later. For FortiProxy 7.4.x, upgrade to 7.4.8 or later. For FortiProxy 7.6.x, upgrade to 7.6.2 or l
- 4. Download the firmware upgrade from the Fortinet Customer Support portal: https://support.fortinet.com/
- 5. Upload and install the firmware upgrade following Fortinet's standard upgrade procedure.
- 6. After upgrade, verify the new version is installed: `get system status`
- 7. Verify the fix by confirming the attack vector (Node.js websocket module privilege escalation) is no longer exploitable.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.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 $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-22254 — 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-22254 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