CVE-2026-32946: Step security/harden runner Egress Policy Bypass Vulnerability
MODERATECVE-2026-32946 is a MODERATE egress policy bypass vulnerability (CWE-693: Protection Mechanism Failure) affecting Step security/harden runner libraries in the GitHub Actions ecosystem. The issue involves egress policy bypass via dns over tcp in harden-runner (community tier). Remediation is available by upgrading affected packages to version 2.16.0.
CVE-2026-32946 at a Glance
How to Fix CVE-2026-32946
To remediate this vulnerability, upgrade all affected Step security/harden runner dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade step-security/harden-runner to 2.16.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for step-security/harden-runner
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-32946, inspect your project dependencies for Step security/harden runner:
inspect dependencies for step-security/harden-runner
Analyze the terminal output to locate any version of Step security/harden runner in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.16.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-693: Protection Mechanism Failure, where the product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product. In Step security/harden runner, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-32946 Affected Step security/harden runner Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
step-security/harden-runner
|
GitHub Actions |
< 2.16.0
|
2.16.0
|
References
Frequently Asked Questions
What is CVE-2026-32946?
Which Step security/harden runner versions are affected?
What version fixes CVE-2026-32946?
Is step-security/harden-runner affected?
What CWE is associated with CVE-2026-32946?
How can I check GitHub Actions dependencies for CVE-2026-32946?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-g699-3x6g-wm3g",
"modified" : "2026-03-20T21:21:27Z",
"published" : "2026-03-17T18:37:46Z",
"aliases" : [ "CVE-2026-32946" ],
"summary" : "Egress Policy Bypass via DNS over TCP in Harden-Runner (Community Tier)",
"details" : "## Summary\n\nA vulnerability exists in the Community Tier of Harden-Runner that allows bypassing the `egress-policy: block` network restriction using DNS queries over TCP.\n\nHarden-Runner enforces egress policies on GitHub runners by filtering outbound connections at the network layer. When `egress-policy: block` is enabled with a restrictive allowed-endpoints list (e.g., only `github.com:443`), all non-compliant traffic should be denied. However, DNS queries over TCP, commonly used for large responses or fallback from UDP, are not adequately restricted. Tools like `dig` can explicitly initiate TCP-based DNS queries (`+tcp` flag) without being blocked. \n\nThis vulnerability requires the attacker to already have code execution capabilities within the GitHub Actions workflow.\n\nThe Enterprise Tier of Harden-Runner is **not affected** by this vulnerability.\n\n## Impact\n\nWhen Harden-Runner is configured with `egress-policy: block` and a restrictive `allowed-endpoints` list, an attacker with existing code execution capabilities within a GitHub Actions workflow can bypass the egress block policy by initiating DNS queries over TCP to external resolvers. This allows outbound network communication that evades the configured network restrictions.\n\nThis vulnerability affects only the Community Tier. It requires the attacker to already have code execution capabilities within the GitHub Actions workflow.\n\n## Remediation\n\n### For Community Tier Users\n\nUpgrade to Harden-Runner v2.16.0 or later. \n\n### For Enterprise Tier Users\n\nNo action required. Enterprise tier customers are not affected by this vulnerability.\n\n## Credit \n\nWe would like to thank [Devansh Batham](https://github.com/devanshbatham) for responsibly disclosing this vulnerability through our security reporting process.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "GitHub Actions",
"name" : "step-security/harden-runner"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.16.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.15.1"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/step-security/harden-runner/security/advisories/GHSA-g699-3x6g-wm3g"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-32946"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/step-security/harden-runner"
}, {
"type" : "WEB",
"url" : "https://github.com/step-security/harden-runner/releases/tag/v2.16.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-693", "CWE-863" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-17T18:37:46Z",
"nvd_published_at" : "2026-03-20T04:16:50Z"
}
}