Egress Policy Bypass via DNS over HTTPS (DoH) in Harden-Runner (Community Tier)
Description
Harden-Runner is a CI/CD security agent that works like an EDR for GitHub Actions runners. In versions 2.15.1 and below, a DNS over HTTPS (DoH) vulnerability allows attackers to bypass egress-policy: block network restrictions by tunneling exfiltrated data through permitted HTTPS endpoints like dns.google. The attack works by encoding sensitive data (e.g., the runner's hostname) as subdomains in DoH queries, which appear as legitimate HTTPS traffic to Harden-Runner's domain-based filtering but are ultimately forwarded to an attacker-controlled domain. This effectively enables data exfiltration without directly connecting to any blocked destination. Exploitation requires the attacker to already have code execution within the GitHub Actions workflow. The issue was fixed in version 2.16.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
step-security/harden-runnerGitHub Actions | < 2.16.0 | 2.16.0 |
Affected products
2- Range: < 2.16
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-46g3-37rh-v698ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-32947ghsaADVISORY
- github.com/step-security/harden-runner/releases/tag/v2.16.0ghsax_refsource_MISCWEB
- github.com/step-security/harden-runner/security/advisories/GHSA-46g3-37rh-v698ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.