Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessFork repo and craft malicious VERSION.json
-
DeliveryOpen pull request to trigger workflow
-
ExploitWorkflow interpolates JSON into shell step
-
ExecutionShell metacharacters execute arbitrary commands
-
ImpactExfiltrate GITHUB_TOKEN and AWS credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target repository runs the affected Wazuh GitHub Actions workflow on a self-hosted runner and that the workflow is triggered by pull_request events from forks, reading the attacker-supplied VERSION.json into an environment variable that is interpolated into a |
| Impact | The CVSS 4.0 base score of 9.3 (AV:N/AC:L/AT:N/PR:N/UI:P) reflects that anyone on the internet can open a pull request (network vector, no privileges, low complexity) and achieve high confidentiality, integrity and availability impact on both the vulnerable system and subsequent systems (SC:H/SI:H), which correctly captures the secret-exfiltration and lateral-movement potential. The one genuine mitigating factor is UI:P - a maintainer action or workflow-approval step is generally needed to run untrusted fork code on self-hosted runners, so exploitation is not fully autonomous. No EPSS score, KEV entry, or SSVC decision data was provided, so probabilistic and CISA-tracked exploitation signals are UNKNOWN; the absence of a KEV listing means this should be treated as a serious-but-not-confirmed-exploited issue rather than an emergency. Net assessment: a real and high priority for the Wazuh project's own infrastructure and any downstream fork that reuses these workflows on self-hosted runners, but lower operational urgency for organizations merely running the Wazuh product, since deployed Wazuh installations are not the vulnerable component. |
| Exploit ScenarioDerived | An attacker forks the Wazuh repository, edits VERSION.json to contain a payload such as a version string embedding |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 02, 2026
Poisoned-pipeline command injection in Wazuh's GitHub Actions CI/CD workflows (all revisions before commit 44bf114) lets an unauthenticated external attacker run arbitrary shell commands on the project's self-hosted runners by submitting a fork pull request containing a crafted VERSION.json. Because the JSON is read into environment variables that are interpolated verbatim into workflow run steps, shell metacharacters break out into command execution, permitting theft of CI secrets such as GITHUB_TOKEN and AWS credentials. There is no public exploit identified at time of analysis, but the technique (untrusted fork input on self-hosted runners) is well-understood and the vendor has already merged a fix.
Earlier versions of this analysis (1)
Shell injection in Wazuh's GitHub Actions CI/CD workflows allows any GitHub user who can open a pull request to execute arbitrary commands on Wazuh's self-hosted runners by embedding shell metacharacters in a crafted VERSION.json file. The workflow unsafely interpolates VERSION.json fields into shell run steps, enabling exfiltration of high-value secrets including GITHUB_TOKEN and AWS credentials available in the runner environment. This is a supply-chain CI injection pattern (commonly called a 'pwn request') fixed at commit 44bf114; no public exploit or CISA KEV listing has been identified at time of analysis.
RemediationAI
Upstream fix available (PR/commit 44bf114); a released/tagged patched version was not independently confirmed from the provided data, so update the workflow files by pulling changes at or after commit 44bf114 as described in advisory GHSA-95w2-gpvr-q4jh (https://github.com/wazuh/wazuh/security/advisories/GHSA-95w2-gpvr-q4jh). The correct structural fix is to stop interpolating untrusted values directly into run: steps: pass attacker-controllable data through an intermediate env: variable and reference it as a quoted shell variable ("$VAR") instead of ${{ ... }}, so the shell treats it as data. As compensating controls before or alongside patching: require the 'Require approval for all outside collaborators' setting so fork PR workflows never auto-run (trade-off: adds maintainer friction to every external contribution); move CI off self-hosted runners onto ephemeral GitHub-hosted runners where feasible (trade-off: loses custom build environment/network access); and scope down runner credentials by removing standing AWS keys in favor of short-lived OIDC-federated tokens and setting permissions: to the minimum, ideally read-only GITHUB_TOKEN (trade-off: workflows that push artifacts or comment on PRs must be granted narrower explicit permissions).
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
This is a classic CI/CD supply-chain weakness known as Poisoned Pipeline Execution, rooted in CWE-78 (OS Command Injection). GitHub Actions workflows that trigger on the pull_request (or pull_request_target) event process content from forked branches; here a VERSION.json file supplied by the attacker is parsed and its values are placed into environment variables that are then substituted directly into a run: shell step using GitHub's ${{ }} template expansion. Because template expansion happens before the shell executes, any shell metacharacters (;, $( ), backticks, &&) in the attacker-controlled value are interpreted by the runner's shell rather than treated as data. The affected asset per CPE is cpe:2.3:a:wazuh:wazuh (the Wazuh project repository/build tooling), and the exposure is amplified by the use of self-hosted runners, which - unlike GitHub-hosted ephemeral VMs - persist state, sit inside the maintainer's network, and typically hold long-lived cloud credentials.
Know when Wazuh 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:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N
Anyone can submit a fork PR (AV:N/PR:N/AC:L) but a maintainer must run the workflow (UI:R); runner and cloud-secret compromise crosses the security boundary, so S:C with full C:H/I:H/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
Wazuh workflows before 44bf114 contain a shell injection vulnerability in GitHub Actions that allows attackers to execute arbitrary commands by submitting pull requests with crafted VERSION.json files. Attackers can inject shell metacharacters into environment variables that are directly interpolated into run steps, enabling command execution and exfiltration of secrets including GITHUB_TOKEN and AWS credentials on self-hosted runners.
Executive ViewAI
Wazuh GitHub Actions workflows (versions before commit 44bf114) contain a critical command injection vulnerability (CVSS 9.3) that allows unauthenticated attackers to execute arbitrary commands and steal CI/CD secrets including AWS credentials and GitHub tokens. No public exploit identified at time of analysis, but the attack vector (crafted fork pull requests) is straightforward and poses immediate risk to supply chain security. Any organization deploying Wazuh with GitHub Actions faces credential exposure and infrastructure compromise.
Apply vendor patch.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
Authenticated cluster peers in Wazuh Manager 4.4.0 through 4.14.3 can write arbitrary files outside the cluster synchron
In the wazuh-slack active response script in Wazuh 4.2.x before 4.2.5, untrusted user agents are passed to a curl comman
Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version
Arbitrary file read in Wazuh cluster deployments (4.0.0 through 4.14.5, and 5.0.0-beta1/beta2) lets a peer node that alr
Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v
A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi
Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac
Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,
Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele
The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa
Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr
EUVD-2026-51853
GHSA-9chj-cp8j-3c5f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB