Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local user credentials
-
DeliveryIdentify unquoted service path via registry
-
ExploitWrite malicious executable to C:\Program.exe
-
ExecutionTrigger service restart or reboot
-
PersistMalicious code executes as SYSTEM
-
ImpactEstablish persistence or lateral movement
Vulnerability Assessment
| Weakness | |
| Exploitation Conditions | Requires three specific prerequisites: (1) CivetWeb v1.16 installed as a Windows service with unquoted path in HKLM\SYSTEM\CurrentControlSet\Services registry (specifically the path 'C:\Program Files\CivetWeb\CivetWeb.exe' without surrounding quotes), (2) Attacker possesses valid local user credentials (PR:L - low privileges sufficient per CVSS) on the Windows system, and (3) Critically, attacker must have write permissions to C:\ root directory or C:\Program Files\ directory to place malicious executables - this typically requires Administrator rights or misconfigured filesystem ACLs, creating a privilege escalation paradox. Additionally, exploitation trigger requires either system reboot or manual service restart to invoke the malicious executable. Limiting factors include: default Windows directory permissions block non-admin writes to system paths, AppLocker or Windows Defender Application Control may prevent unsigned executable execution, and modern Windows Defender flags known unquoted path exploitation patterns. Not exploitable on Linux/POSIX systems or CivetWeb deployments run as standalone applications rather than Windows services. |
| Impact | Real-world risk is MODERATE despite the high CVSS 8.5 score. The CVSS vector (AV:L/AC:L/PR:L) confirms this is local-only exploitation requiring low-privileged user authentication - not remotely exploitable. Attack complexity is low once local access is achieved, but critical limiting factors significantly reduce practical risk: (1) Attacker must already have local user credentials, (2) User must have write permissions to C:\ or C:\Program Files\ directories (typically restricted to administrators in default Windows configurations), (3) Service restart or system reboot required to trigger exploitation. This creates a chicken-and-egg scenario where attackers often need near-administrative rights to create the malicious executable in the first place, limiting value as a privilege escalation vector. EPSS data not provided, but similar unquoted path vulnerabilities typically show low exploitation probability due to these prerequisites. No CISA KEV listing indicates no confirmed active exploitation. Primary risk exists in enterprise environments with: relaxed filesystem ACLs, local attackers with existing foothold, or as a secondary persistence mechanism after initial compromise. For most organizations, this is lower priority than network-accessible vulnerabilities. |
| Exploit ScenarioDerived | An attacker with low-privileged local user credentials on a Windows system running CivetWeb v1.16 as a service identifies the unquoted service path via registry inspection or automated privilege escalation scanners. In an enterprise environment with relaxed ACLs or through a separate ACL bypass vulnerability, the attacker writes a malicious executable to C:\Program.exe (or C:\Program Files\CivetWeb.exe if only C:\ is protected). Upon next system reboot or manual service restart, Windows Service Control Manager executes the attacker's malicious Program.exe with SYSTEM privileges instead of the legitimate CivetWeb.exe, granting full system control for persistence, lateral movement, or data exfiltration. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 21, 2026
Local privilege escalation in CivetWeb v1.16 service allows authenticated users to execute arbitrary code with SYSTEM privileges via unquoted service path exploitation. The Windows service configuration lacks quotes around 'C:\Program Files\CivetWeb\CivetWeb.exe', enabling attackers to place malicious executables in directories scanned before the intended path (e.g., 'C:\Program.exe' or 'C:\Program Files\CivetWeb.exe'). No public exploit identified at time of analysis, though EPSS data not available. Patch available per vendor advisory from INCIBE.
RemediationAI
Vendor-released patch available per INCIBE advisory at https://www.incibe.es/en/incibe-cert/notices/aviso/search-path-without-quotes-civetweb - consult advisory for exact patched version and upgrade instructions. Primary fix: Upgrade CivetWeb to the patched version that correctly quotes the service executable path in registry configuration. Manual workaround (if immediate patching infeasible): Modify the Windows service registry entry to add quotes around the executable path using 'sc config [ServiceName] binPath= "C:\Program Files\CivetWeb\CivetWeb.exe"' from elevated command prompt, then restart service. Compensating control: Audit and restrict write permissions on C:\ and C:\Program Files\ directories to Administrators group only (remove write access for Users, Power Users groups) using icacls or Group Policy - trade-off is this may break legacy applications expecting lax permissions. Verify fix by checking registry key HKLM\SYSTEM\CurrentControlSet\Services\[CivetWebServiceName]\ImagePath contains quoted path. Organizations not using CivetWeb as a Windows service are not affected and require no action.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CivetWeb is an embedded C/C++ web server library commonly deployed as a Windows service. This vulnerability exploits CWE-428 (Unquoted Search Path or Element), a Windows-specific configuration flaw in service registry entries. When Windows executes a service path containing spaces without surrounding quotes, the Service Control Manager parses the path incorrectly, treating each space-separated token as a potential executable path. For 'C:\Program Files\CivetWeb\CivetWeb.exe', Windows attempts execution in order: 'C:\Program.exe', 'C:\Program Files\CivetWeb.exe', then the intended path. The CPE identifier (cpe:2.3:a:civetweb:civetweb:*:*:*:*:*:*:*:*) indicates the core CivetWeb library is affected across versions, though the description specifically identifies v1.16. This is a classic Windows privilege escalation primitive that requires write access to system directories, typically restricted to administrators but exploitable in misconfigured environments or through chained attacks.
Know when Civetweb gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
Vulnerability related to an unquoted search path in CivetWeb v1.16. This vulnerability allows a local attacker to execute arbitrary code with elevated privileges by placing a malicious executable in a directory that is scanned before the intended application path (C:\Program Files\CivetWeb\CivetWeb.exe --), due to the absence of quotes in the service configuration.
Executive ViewAI
CivetWeb v1.16 contains a local privilege escalation vulnerability affecting Windows deployments where authenticated users can execute arbitrary code with SYSTEM privileges by exploiting unquoted service paths. Organizations running CivetWeb on Windows with user accounts that have local access face immediate risk of privilege escalation and potential compromise of critical system functions.
Apply vendor patch. Interim mitigations if patching is delayed: (1) Restrict local system access and disable unnecessary local user accounts; (2) Modify CivetWeb Windows service configuration to use fully-qualified, quoted executable paths ('C:\Program Files\CivetWeb\CivetWeb.exe'); (3) Implement file integrity monitoring on C:\Program Files\ and C:\ root directories to detect placement of unauthorized executables; (4) Apply principle of least privilege-run CivetWeb service under a restricted service account rather than SYSTEM if operationally feasible.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Buffer Overflow in the URI parser of CivetWeb 1.14 through 1.16 (latest) allows a remote attacker to achieve remote code
Heap and stack buffer overflow in CivetWeb's read_websocket() function (through commit 4a4f0c95) allows unauthenticated
A flaw was found in the way civetweb frontend was handling requests for ceph RGW server with SSL enabled. Rated high sev
Out-of-bounds Read in the send_ssi_file function in civetweb.c in CivetWeb through 1.10 allows attackers to cause a Deni
EUVD-2026-24138
GHSA-9vxj-j2f7-9mgg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB