{"schemaVersion":3,"id":"CVE-2025-58034","aliases":[],"status":"published","duplicateOf":null,"title":"Fortinet FortiWeb OS Command Injection Vulnerability","description":"An Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78] vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.1, FortiWeb 7.6.0 through 7.6.5, FortiWeb 7.4.0 through 7.4.10, FortiWeb 7.2.0 through 7.2.11, FortiWeb 7.0.0 through 7.0.11 may allow an authenticated attacker to execute unauthorized code on the underlying system via crafted HTTP requests or CLI commands.","dates":{"published":"2025-11-18T17:01:13.513Z","modified":"2026-02-26T16:21:13.757Z","reserved":null,"kevAdded":["2025-11-18T00:00:00.000Z"],"kevDue":["2025-11-25T00:00:00.000Z"]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.7,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.54724,"percentile":0.99022,"severity":"critical","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":-0.8560000000000012,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.5558},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.54724,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.54724,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.54724,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.54724,"percentile":0.99022}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.5558,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.54724,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.54724,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.54724,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.54724,"percentile":0.99022}]},"kev":{"state":"listed","entries":[{"source":"cisa","sourceLabel":"CISA","dateAdded":"2025-11-18T00:00:00.000Z","dueDate":"2025-11-25T00:00:00.000Z","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","name":"Fortinet FortiWeb OS Command Injection Vulnerability","description":"Fortinet FortiWeb contains an OS command Injection vulnerability that may allow an authenticated attacker to execute unauthorized code on the underlying system via crafted HTTP requests or CLI commands.","notes":[{"type":"url","href":"https://fortiguard.fortinet.com/psirt/FG-IR-25-513","label":"fortiguard.fortinet.com/psirt/FG-IR-25-513"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2025-58034","label":"nvd.nist.gov/vuln/detail/CVE-2025-58034"}],"vendor":"Fortinet","product":"FortiWeb","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}],"listedCount":1,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":true,"entry":{"source":"cisa","sourceLabel":"CISA","dateAdded":"2025-11-18T00:00:00.000Z","dueDate":"2025-11-25T00:00:00.000Z","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","name":"Fortinet FortiWeb OS Command Injection Vulnerability","description":"Fortinet FortiWeb contains an OS command Injection vulnerability that may allow an authenticated attacker to execute unauthorized code on the underlying system via crafted HTTP requests or CLI commands.","notes":[{"type":"url","href":"https://fortiguard.fortinet.com/psirt/FG-IR-25-513","label":"fortiguard.fortinet.com/psirt/FG-IR-25-513"},{"type":"url","href":"https://nvd.nist.gov/vuln/detail/CVE-2025-58034","label":"nvd.nist.gov/vuln/detail/CVE-2025-58034"}],"vendor":"Fortinet","product":"FortiWeb","ransomware":false,"ransomwareUse":"Unknown","exploitationType":null}},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"MSF_EXPLOIT_LINUX_HTTP_FORTINET_FORTIWEB_RCE","name":"Fortinet FortiWeb unauthenticated RCE","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/fortinet_fortiweb_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/fortinet_fortiweb_rce","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":1,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"fortinet","product":"fortiweb","name":"fortiweb","label":"fortiweb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.6.0, ≤ 7.6.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.4.0, ≤ 7.4.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.2.0, ≤ 7.2.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.2, ≤ 7.0.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.0.0, < 7.0.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.2.0, < 7.2.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.4.0, < 7.4.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 7.6.0, < 7.6.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 8.0.0, < 8.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 7.6.0, ≤ 7.6.4 | ≥ 7.4.0, ≤ 7.4.8 | ≥ 7.2.0, ≤ 7.2.11 | ≥ 7.0.2, ≤ 7.0.11 | ≥ 7.0.0, < 7.0.12 | ≥ 7.2.0, < 7.2.12 | ≥ 7.4.0, < 7.4.11 | ≥ 7.6.0, < 7.6.6 | ≥ 8.0.0, < 8.0.2","eol":null,"hubHref":"/vendor/fortinet/fortiweb"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://fortiguard.fortinet.com/psirt/FG-IR-25-513","label":"fortiguard.fortinet.com/psirt/FG-IR-25-513","hostname":"fortiguard.fortinet.com","tags":["Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-58034","label":"www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-58034","hostname":"www.cisa.gov","tags":["Government Resource","US Government Resource"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-11-18T17:01:13.513Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"kev-added","date":"2025-11-18T00:00:00.000Z","label":"Added to CISA KEV","detail":"Fortinet FortiWeb OS Command Injection Vulnerability","source":"cisa"},{"kind":"kev-due","date":"2025-11-25T00:00:00.000Z","label":"CISA remediation due","detail":"Apply mitigations per vendor instructions.","source":"cisa"},{"kind":"modified","date":"2026-02-26T16:21:13.757Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":85,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T18:03:59.970Z","stale":false,"partial":false}}