{
  "id": "CVE-2025-25257",
  "url": "https://patchtonight.com/cve/CVE-2025-25257/",
  "page": "analysis",
  "vendor": "Fortinet",
  "product": "FortiWeb GUI (Fabric Connector)",
  "title": "FortiWeb pre-auth SQL injection to root code execution, exploited",
  "summary": "An unauthenticated SQL injection in the FortiWeb GUI lets an attacker run code as root. Public exploits appeared on July 11, 2025, exploitation followed within days, and CISA added it to the KEV catalog.",
  "published": "2025-07-08",
  "updated": "2026-10-12",
  "severity": "CRITICAL",
  "cvss": {
    "version": "3.1",
    "score": 9.6,
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:X/RC:C"
  },
  "exploited": {
    "cisaKev": true,
    "dateAdded": "2025-07-18",
    "dueDate": "2025-08-08",
    "ransomware": false
  },
  "epss": {
    "score": 0.99921,
    "percentile": 0.99969,
    "date": "2026-11-23"
  },
  "publicExploit": true,
  "patchAvailable": true,
  "affected": [
    {
      "branch": "FortiWeb 7.6.0 to 7.6.3",
      "fixedIn": "7.6.4 or later"
    },
    {
      "branch": "FortiWeb 7.4.0 to 7.4.7",
      "fixedIn": "7.4.8 or later"
    },
    {
      "branch": "FortiWeb 7.2.0 to 7.2.10",
      "fixedIn": "7.2.11 or later"
    },
    {
      "branch": "FortiWeb 7.0.0 to 7.0.10",
      "fixedIn": "7.0.11 or later"
    },
    {
      "branch": "FortiWeb 6.4",
      "fixedIn": "Not affected"
    }
  ],
  "vendorAdvisory": {
    "id": "FG-IR-25-151",
    "url": "https://fortiguard.fortinet.com/psirt/FG-IR-25-151"
  },
  "cwe": "Execute unauthorized code or commands",
  "iocs": null,
  "sources": [
    {
      "label": "Fortinet advisory FG-IR-25-151",
      "url": "https://fortiguard.fortinet.com/psirt/FG-IR-25-151"
    },
    {
      "label": "watchTowr Labs analysis",
      "url": "https://labs.watchtowr.com/pre-auth-sql-injection-to-rce-fortinet-fortiweb-fabric-connector-cve-2025-25257/"
    },
    {
      "label": "BleepingComputer, FortiWeb hacks linked to public exploits (citing Shadowserver)",
      "url": "https://www.bleepingcomputer.com/news/security/new-fortinet-fortiweb-hacks-likely-linked-to-public-rce-exploits/"
    },
    {
      "label": "Help Net Security, public exploits and KEV listing",
      "url": "https://www.helpnetsecurity.com/?p=336344"
    },
    {
      "label": "CVE record",
      "url": "https://cveawg.mitre.org/api/cve/CVE-2025-25257"
    }
  ],
  "attribution": "Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it."
}