Monitor vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.3

Git repository compromised: malicious code runs in GitHub Actions workflows

CVE-2026-31976 GHSA-f8q5-h5qh-33mh
Summary

A compromised version of the xygeni-action GitHub Action was released, allowing an attacker to run malicious code in workflows that use the compromised version. This can lead to unauthorized access and data exfiltration. To protect your workflows, ensure you're using a trusted and up-to-date version of the xygeni-action and review your workflow logs for any suspicious activity.

What to do
  • Update xygeni xygeni-action to version 6.4.0.
Affected software
VendorProductAffected versionsFix available
xygeni xygeni-action > 5 , <= 6.4.0 6.4.0
Original title
xygeni-action v5 tag poisoned with C2 backdoor
Original description
### Description

On March 3, 2026, an attacker with access to compromised credentials created a series of pull requests (#46, #47, #48) injecting obfuscated shell code into `action.yml`. The PRs were blocked by branch protection rules and never merged into the main branch.

However, the attacker used the compromised GitHub App credentials to move the mutable `v5` tag to point at the malicious commit (`4bf1d4e19ad81a3e8d4063755ae0f482dd3baf12`) from one of the unmerged PRs. This commit remained in the repository's git object store, and any workflow referencing `@v5` would fetch and execute it.

The malicious code, disguised as a "scanner version telemetry" step, operates as follows:

1. Registers the CI runner with a C2 server at `91.214.78.178` (via `security-verify.91.214.78.178.nip.io`), transmitting hostname, username, and OS version.
2. Polls the C2 server every 2–7 seconds for 180 seconds, receiving and executing arbitrary shell commands via `eval`.
3. Compresses and base64-encodes command output before exfiltrating it back to the C2 server.

The implant runs silently in the background alongside the legitimate scan, suppresses all errors, skips TLS certificate verification, and uses randomized polling intervals to evade detection.

### Impact

This is a supply chain compromise via tag poisoning. Any GitHub Actions workflow referencing `xygeni/xygeni-action@v5` during the affected window (approximately March 3–10, 2026) executed a C2 implant that granted the attacker arbitrary command execution on the CI runner for up to 180 seconds per workflow run.

The severity is set to Critical based on the potential impact. However, several factors reduce the realized risk: the `v5` tag was primarily referenced by Xygeni-owned and Xygeni-affiliated repositories; no external public repositories were found using the compromised tag (though usage in private repositories cannot be ruled out); the exposure window was approximately 6 days; and no confirmed exploitation of downstream users has been established to date.

### Patches

The compromised `v5` tag has been removed from the repository. Users should update their workflows to pin to the verified safe commit SHA corresponding to v6.4.0:

```yaml
uses: xygeni/xygeni-action@13c6ed2797df7d85749864e2cbcf09c893f43b23 # v6.4.0
```

Workflows still referencing `@v5` will fail with a reference not found error, as the tag no longer exists.

If your workflows ran with `@v5` during the affected window, you should also:

- Rotate all secrets that were available to the CI runner (repository secrets, environment secrets, deploy keys, cloud provider tokens).
- Audit CI logs for outbound connections to `91.214.78.178` or DNS lookups for `security-verify.91.214.78.178.nip.io`.
- Review recent releases and published artifacts for signs of tampering.


### Workarounds

As an alternative to using the GitHub Action, you may install and run the Xygeni scanner directly via the CLI installation method documented at https://docs.xygeni.io/xygeni-scanner-cli/xygeni-cli-overview/xygeni-cli-installation. This bypasses the GitHub Action entirely and is not affected by this incident.

### References

- GitHub issue: https://github.com/xygeni/xygeni-action/issues/54
- Xygeni incident blog post: (URL to be added upon publication)
nvd CVSS4.0 9.3
Vulnerability type
CWE-506 Embedded Malicious Code
Published: 11 Mar 2026 · Updated: 14 Mar 2026 · First seen: 11 Mar 2026