{
  "id": "CVE-2026-57223",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-57223",
  "published_at": "2026-09-18T20:23:28.227Z",
  "title": "Suricata windows: unquoted LocalSystem service ImagePath can allow local privilege escalation",
  "vendor": "OISF",
  "product": "suricata",
  "cvss": {
    "score": 7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Prior to 7.0.17 and 8.0.6, the Windows service installation and parameter-update logic in src/win32-service.c can pass an unquoted service ImagePath to CreateServiceA. When Suricata is installed below a path containing spaces and an earlier path component is writable by a local low-privileged attacker, Windows can execute an attacker-controlled program as LocalSystem, resulting in local privilege escalation. This issue is fixed in versions 8.0.6 and 7.0.17.",
  "cwe": "CWE-428",
  "cpes": [
    "cpe:2.3:a:oisf:suricata:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OISF",
        "product": "suricata",
        "ranges": [
          "\u003e= 8.0.0, \u003c 8.0.6",
          "\u003c 7.0.17"
        ],
        "fixed_in": [
          "8.0.6",
          "7.0.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade suricata to 8.0.6 or 7.0.17 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/OISF/suricata/security/advisories/GHSA-jh8w-wf3f-58jp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/pull/15676"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/0dad38fff024b4fec9bc8144d8b94dbca39aac2e"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/2b924d47cc51d0b7760cda3519f2c04a2f65ea38"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/OISF/suricata/commit/ac1b3cc1ef3af65ce92da28261d445167eb8234d"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/OISF/suricata/releases/tag/suricata-7.0.17"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/OISF/suricata/releases/tag/suricata-8.0.6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
