Skip to main content

Wgcloud CVE-2026-30402

CRITICAL
Code Injection (CWE-94)
2026-03-19 cve@mitre.org
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Access wgcloud test connection function
  2. Exploit
    Submit malicious code payload
  3. Execution
    Trigger code evaluation in test handler
  4. Impact
    Execute arbitrary code on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote unauthenticated attacker can exploit the test connection function in wgcloud versions 2.3.7 and earlier. No special configuration or victim interaction required. Affects default installations accessible over the network.

Impact

Despite the critical CVSS 9.8 score indicating maximum severity across confidentiality, integrity, and availability impact with network attack vector (AV:N), low complexity (AC:L), and no authentication required (PR:N), real-world exploitation risk appears moderate. The EPSS score of 0.29% places this vulnerability at the 52nd percentile, suggesting historical data indicates low likelihood of exploitation. No confirmed active exploitation exists (not present in CISA KEV), and no public exploit code has been identified in references. The CVSS metrics indicate this is highly automatable with severe technical impact, but the lack of public exploitation activity and relatively obscure nature of the wgcloud product limits the immediate threat landscape. This represents a high-CVSS vulnerability requiring remediation, but not demonstrating the urgent exploitation patterns seen in actively targeted vulnerabilities.

Exploit ScenarioDerived

An unauthenticated remote attacker identifies an internet-exposed wgcloud instance running version 2.3.7 or earlier. The attacker crafts malicious input to the test connection function, injecting code that exploits insufficient input validation. Upon submission, the injected code executes within the context of the wgcloud application, granting the attacker complete system access to execute commands, exfiltrate monitoring data including credentials and infrastructure topology, or establish persistent backdoor access to the compromised monitoring server.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 20, 2026

Remote code execution in wgcloud version 2.3.7 and earlier allows unauthenticated attackers to execute arbitrary code through the test connection function. The vulnerability carries a critical CVSS score of 9.8 with network-based exploitation requiring no privileges or user interaction. No public exploit has been identified at time of analysis, though the EPSS score of 0.29% (52nd percentile) indicates low predicted exploitation probability despite the critical severity rating.

RemediationAI

Upgrade wgcloud to a version later than 2.3.7 when available. Review the vendor advisory at https://github.com/tianshiyeben/wgcloud/issues/96 for the latest patching guidance and release information. No vendor-released patch with specific version number has been independently confirmed from available data sources at time of analysis. As an interim mitigation, restrict network access to the wgcloud management interface to trusted IP ranges only, implement network segmentation to isolate monitoring infrastructure, and disable or restrict access to the test connection function if not operationally required. Monitor the official GitHub repository for security updates and consider implementing input validation controls at the network perimeter level.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified under CWE-94 (Improper Control of Generation of Code / Code Injection), indicating that the wgcloud application improperly handles user-supplied input in the test connection function, allowing attackers to inject and execute arbitrary code. Wgcloud is an open-source server monitoring system. The code injection occurs within a network-accessible test connection feature, suggesting insufficient input validation or sanitization of connection parameters that are subsequently processed or evaluated by the application. The affected component is identified as cpe:2.3:a:wgcloud_project:wgcloud:*:*:*:*:*:*:*:* for versions through 2.3.7.

Know when Wgcloud 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 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

An issue in wgcloud v.2.3.7 and before allows a remote attacker to execute arbitrary code via the test connection function

Executive ViewAI

Why It Matters

wgcloud versions 2.3.7 and earlier contain a critical remote code execution vulnerability in the test connection function that allows unauthenticated attackers to execute arbitrary code without authentication or user interaction. Organizations running affected wgcloud deployments face immediate risk of full system compromise through network-based attacks, with no vendor patch currently available to remediate the issue.

Business Impact: Severe
Compensating Controls

Disable the test connection feature if not operationally required; implement network segmentation to restrict wgcloud component access to trusted internal networks only; deploy WAF or IDS/IPS rules to monitor and block anomalous test connection function requests; enforce authentication at the network or reverse proxy layer if available; apply principle of least privilege to limit lateral movement from compromised wgcloud instances.

Threat Intelligence Overview

EPSS Score
0.3%
Top 48% 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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

Affected Products (CPE)CVE.org

cpe:2.3:a:wgstart:wgcloud:*:*:*:*:*:*:*:*

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