# CVE-2026-57223: Suricata windows: unquoted LocalSystem service ImagePath can allow local privilege escalation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-428
- **Published:** 2026-09-18T20:23:28.227Z
- **Modified:** 2026-09-29T12:48:12.460Z

## Who should check

- Anyone running OISF suricata \>= 8.0.0, \< 8.0.6; \< 7.0.17

## 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.

## Affected and fixed versions

- OISF suricata: \>= 8.0.0, \< 8.0.6; \< 7.0.17 (cvelist)

## Mitigation

- Upgrade suricata to 7.0.17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-57223. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-57223.md
Affected: OISF suricata >= 8.0.0, < 8.0.6; < 7.0.17
Fixed in: OISF suricata 8.0.6, OISF suricata 7.0.17

Steps:
1. Search this machine and project for OISF suricata: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-57223 being exploited?

There is no confirmed exploitation: CVE-2026-57223 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-57223?

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-57223?

OISF suricata \>= 8.0.0, \< 8.0.6; \< 7.0.17.

### Is there a fix for CVE-2026-57223?

Yes. Fixed in OISF suricata 8.0.6, OISF suricata 7.0.17. Upgrade suricata to 7.0.17 or later.

### How do I check if I'm affected by CVE-2026-57223?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/OISF/suricata/security/advisories/GHSA-jh8w-wf3f-58jp>
- vendor: <https://redmine.openinfosecfoundation.org/issues/8600>
- patch: <https://github.com/OISF/suricata/pull/15676>
- patch: <https://github.com/OISF/suricata/commit/0dad38fff024b4fec9bc8144d8b94dbca39aac2e>
- patch: <https://github.com/OISF/suricata/commit/2b924d47cc51d0b7760cda3519f2c04a2f65ea38>
- patch: <https://github.com/OISF/suricata/commit/ac1b3cc1ef3af65ce92da28261d445167eb8234d>
- other: <https://github.com/OISF/suricata/releases/tag/suricata-7.0.17>
- other: <https://github.com/OISF/suricata/releases/tag/suricata-8.0.6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-57223>

HTML: <https://flawdb.com/CVE-2026-57223> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-57223>
