{"id":"CVE-2026-57223","state":"PUBLISHED","title":"Suricata windows: unquoted LocalSystem service ImagePath can allow local privilege escalation","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.","publishedAt":"2026-09-18T20:23:28.227Z","updatedAt":"2026-09-22T15:50:19.808Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["OISF suricata"],"affected":[{"vendor":"OISF","product":"suricata","versions":[{"version":">= 8.0.0, < 8.0.6","status":"affected"},{"version":"< 7.0.17","status":"affected"}]}],"references":["https://github.com/OISF/suricata/security/advisories/GHSA-jh8w-wf3f-58jp","https://github.com/OISF/suricata/pull/15676","https://github.com/OISF/suricata/commit/0dad38fff024b4fec9bc8144d8b94dbca39aac2e","https://github.com/OISF/suricata/commit/2b924d47cc51d0b7760cda3519f2c04a2f65ea38","https://github.com/OISF/suricata/commit/ac1b3cc1ef3af65ce92da28261d445167eb8234d","https://github.com/OISF/suricata/releases/tag/suricata-7.0.17","https://github.com/OISF/suricata/releases/tag/suricata-8.0.6","https://redmine.openinfosecfoundation.org/issues/8600"],"weaknesses":["CWE-428"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/57xxx/CVE-2026-57223.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-57223","state":"PUBLISHED","datePublished":"2026-09-18T20:23:28.227Z","dateUpdated":"2026-09-22T15:50:19.808Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-24T02:21:33.811Z"},"containers":{"cna":{"title":"Suricata windows: unquoted LocalSystem service ImagePath can allow local privilege escalation","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"OISF","product":"suricata","versions":[{"version":">= 8.0.0, < 8.0.6","status":"affected"},{"version":"< 7.0.17","status":"affected"}]}],"references":[{"url":"https://github.com/OISF/suricata/security/advisories/GHSA-jh8w-wf3f-58jp","name":"https://github.com/OISF/suricata/security/advisories/GHSA-jh8w-wf3f-58jp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OISF/suricata/pull/15676","name":"https://github.com/OISF/suricata/pull/15676","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/commit/0dad38fff024b4fec9bc8144d8b94dbca39aac2e","name":"https://github.com/OISF/suricata/commit/0dad38fff024b4fec9bc8144d8b94dbca39aac2e","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/commit/2b924d47cc51d0b7760cda3519f2c04a2f65ea38","name":"https://github.com/OISF/suricata/commit/2b924d47cc51d0b7760cda3519f2c04a2f65ea38","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/commit/ac1b3cc1ef3af65ce92da28261d445167eb8234d","name":"https://github.com/OISF/suricata/commit/ac1b3cc1ef3af65ce92da28261d445167eb8234d","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/releases/tag/suricata-7.0.17","name":"https://github.com/OISF/suricata/releases/tag/suricata-7.0.17","tags":["x_refsource_MISC"]},{"url":"https://github.com/OISF/suricata/releases/tag/suricata-8.0.6","name":"https://github.com/OISF/suricata/releases/tag/suricata-8.0.6","tags":["x_refsource_MISC"]},{"url":"https://redmine.openinfosecfoundation.org/issues/8600","name":"https://redmine.openinfosecfoundation.org/issues/8600","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-428","lang":"en","description":"CWE-428: Unquoted Search Path or Element","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-18T20:23:28.227Z"},"source":{"advisory":"GHSA-jh8w-wf3f-58jp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-22T15:49:59.518563Z","id":"CVE-2026-57223","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-22T15:50:19.808Z"}}]}}}