Skip to main content

CivetWeb EUVDEUVD-2026-24138

| CVE-2026-5789 HIGH
Unquoted Search Path or Element (CWE-428)
2026-04-21 INCIBE GHSA-9vxj-j2f7-9mgg
8.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local user credentials
  2. Delivery
    Identify unquoted service path via registry
  3. Exploit
    Write malicious executable to C:\Program.exe
  4. Execution
    Trigger service restart or reboot
  5. Persist
    Malicious code executes as SYSTEM
  6. Impact
    Establish persistence or lateral movement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V13 - Configuration Path quoting
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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

civetweb 1.16

Affected Packages

euvd civetweb no fix

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

NVD PRIMARY 8.5 HIGH
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
SUSE 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Apr 21, 2026 - 15:22 NVD
8.5 (HIGH)
Patch released
Apr 21, 2026 - 15:00 nvd
Patch available
CVE Published
Apr 21, 2026 - 14:22 nvd
HIGH 8.5

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 97% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy