Description
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.
Published: 2026-08-01
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows an attacker to inject shell metacharacters into environment variables that are directly interpolated into GitHub Actions run steps within the Wazuh CI pipeline. This flaw permits execution of arbitrary commands when a crafted pull request is merged, potentially exposing secrets such as GITHUB_TOKEN and AWS credentials. The impact is the compromise of confidentiality and integrity of the continuous integration environment, with the attacker able to execute code on self‑hosted runners.

Affected Systems

Wazuh product. All releases before commit 44bf114 in the Wazuh repository are impacted; the vulnerability exists in the workflow configuration of those versions.

Risk and Exploitability

The CVSS score of 9.3 indicates critical severity. EPSS score of 0.00561 indicates a very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog. An attacker who can submit a pull request with a crafted VERSION.json file that injects malicious shell commands into environment variables will trigger the vulnerable workflow and execute arbitrary commands on self‑hosted runners. The likely attack vector is via pull request submission; based on the description, it is inferred that the attacker would need write access to a repository or a fork that triggers the action.

Generated by OpenCVE AI on August 4, 2026 at 11:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Wazuh to a commit after 44bf114 or to a release that includes the fix; the advisory recommends updating to the latest code.
  • Restrict the use of self‑hosted runners and limit the permissions of the GITHUB_TOKEN by adding explicit permissions restrictions or moving to a machine token with least privileges.
  • Sanitize and harden GitHub Actions workflow files: remove direct interpolation of untrusted environment variables and enforce strict on‑branch protection rules to prevent malicious pull requests from triggering actions.

Generated by OpenCVE AI on August 4, 2026 at 11:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 02 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}

cvssV4_0

{'score': 9.3, 'vector': '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'}


Sat, 01 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Wazuh GitHub Actions Shell Injection via Fork Pull Request
First Time appeared Wazuh
Wazuh wazuh
Weaknesses CWE-78
CPEs cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*
Vendors & Products Wazuh
Wazuh wazuh
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-03T19:35:25.948Z

Reserved: 2026-07-29T13:06:35.178Z

Link: CVE-2026-67308

cve-icon Vulnrichment

Updated: 2026-08-03T19:35:20.024Z

cve-icon NVD

Status : Received

Published: 2026-08-01T13:17:00.553

Modified: 2026-08-03T20:17:26.723

Link: CVE-2026-67308

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:30:07Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')