{"id":"CVE-2026-32946","aliases":["GHSA-g699-3x6g-wm3g"],"summary":"Egress Policy Bypass via DNS over TCP in Harden-Runner (Community Tier)","published_at":"2026-03-17T18:37:46Z","modified_at":"2026-03-24T13:20:06Z","products":[{"slug":"github-actions","name":"GitHub Actions","category":"gitops-cicd"}],"rating":{"severity":"medium","score":4.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0028800000436604023,"percentile":0.2169100046157837,"date":"2026-11-19T00:00:00Z"},"priority":5.9,"details":"Harden-Runner is a CI/CD security agent that works like an EDR for GitHub Actions runners. In versions 2.15.1 and below, the Harden-Runner that allows bypass of the egress-policy: block network restriction using DNS queries over TCP. Egress policies are enforced 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. This vulnerability requires the attacker to already have code execution capabilities within the GitHub Actions workflow. The issue has been fixed in version 2.16.0.","affected_stack":[{"ecosystem":"GitHub Actions","package":"step-security/harden-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16.0"}]}],"fixed":["2.16.0"],"provider":"osv","source":"GHSA-g699-3x6g-wm3g","relation":"self"}],"affected_other":[{"ecosystem":"CVE","package":"step-security/harden-runner","versions":["< 2.16.0"],"provider":"cvelistv5","source":"CVE-2026-32946","relation":"self"},{"ecosystem":"NVD","package":"stepsecurity:harden-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16.0"}]}],"fixed":["2.16.0"],"provider":"nvd","source":"CVE-2026-32946","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"External Secrets Operator for Red Hat OpenShift","cpe":"cpe:/a:redhat:external_secrets_operator:1","status":"affected","packages":["external-secrets-operator/bitwarden-sdk-server-rhel9","external-secrets-operator/external-secrets-operator-bundle","external-secrets-operator/external-secrets-operator-rhel9","external-secrets-operator/external-secrets-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-32946"},{"vendor":"Red Hat","product":"Gatekeeper 3","cpe":"cpe:/a:redhat:gatekeeper:3","status":"affected","packages":["gatekeeper/gatekeeper-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-32946"},{"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","cpe":"cpe:/a:redhat:multicluster_engine","status":"affected","packages":["multicluster-engine/addon-manager-rhel9","multicluster-engine/placement-rhel9","multicluster-engine/registration-operator-rhel9","multicluster-engine/registration-rhel9","multicluster-engine/work-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2026-32946"},{"vendor":"Red Hat","product":"Red Hat OpenShift for Windows Containers","cpe":"cpe:/a:redhat:windows_machine_config","status":"affected","packages":["openshift4-wincw/windows-machine-config-operator-bundle","openshift4-wincw/windows-machine-config-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-32946"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-32946","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-32946","license":"CC-BY-4.0","published_at":"2026-03-20T03:58:40.557Z","modified_at":"2026-03-20T15:47:42.018Z","summary":"Egress Policy Bypass via DNS over TCP in Harden-Runner (Community Tier)","details":"Harden-Runner is a CI/CD security agent that works like an EDR for GitHub Actions runners. In versions 2.15.1 and below, the Harden-Runner that allows bypass of the egress-policy: block network restriction using DNS queries over TCP. Egress policies are enforced 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. This vulnerability requires the attacker to already have code execution capabilities within the GitHub Actions workflow. The issue has been fixed in version 2.16.0.","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","source":"CVE-2026-32946"}],"affected":[{"ecosystem":"CVE","package":"step-security/harden-runner","versions":["< 2.16.0"],"provider":"cvelistv5","source":"CVE-2026-32946","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/step-security/harden-runner/security/advisories/GHSA-g699-3x6g-wm3g"},{"type":"WEB","url":"https://github.com/step-security/harden-runner/releases/tag/v2.16.0"}]},{"provider":"nvd","source_id":"CVE-2026-32946","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32946","severity":[],"affected":[{"ecosystem":"NVD","package":"stepsecurity:harden-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16.0"}]}],"fixed":["2.16.0"],"provider":"nvd","source":"CVE-2026-32946","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-g699-3x6g-wm3g","relation":"self","url":"https://osv.dev/vulnerability/GHSA-g699-3x6g-wm3g","license":"CC-BY-4.0","published_at":"2026-03-17T18:37:46Z","modified_at":"2026-03-20T21:33:51.432672Z","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","source":"GHSA-g699-3x6g-wm3g"}],"affected":[{"ecosystem":"GitHub Actions","package":"step-security/harden-runner","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16.0"}]}],"fixed":["2.16.0"],"provider":"osv","source":"GHSA-g699-3x6g-wm3g","relation":"self"}],"product_status":[],"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"}]},{"provider":"redhat-vex","source_id":"CVE-2026-32946","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-32946","license":"CC-BY-4.0","published_at":"2026-03-20T03:58:40.557Z","modified_at":"2026-03-24T13:20:06Z","summary":"step-security/harden-runner: Harden-Runner: Egress policy bypass via DNS over TCP","details":"A flaw was found in Harden-Runner, a security agent for GitHub Actions runners. An attacker with existing code execution capabilities within a GitHub Actions workflow can bypass network egress policies, which are security measures designed to control outbound network connections. This bypass occurs by utilizing DNS queries over TCP, allowing unauthorized network communication despite restrictive egress policies.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"CVE-2026-32946"},{"type":"Red Hat","score":"Moderate","source":"CVE-2026-32946"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"External Secrets Operator for Red Hat OpenShift","cpe":"cpe:/a:redhat:external_secrets_operator:1","status":"affected","packages":["external-secrets-operator/bitwarden-sdk-server-rhel9","external-secrets-operator/external-secrets-operator-bundle","external-secrets-operator/external-secrets-operator-rhel9","external-secrets-operator/external-secrets-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-32946"},{"vendor":"Red Hat","product":"Gatekeeper 3","cpe":"cpe:/a:redhat:gatekeeper:3","status":"affected","packages":["gatekeeper/gatekeeper-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-32946"},{"vendor":"Red Hat","product":"Multicluster Engine for Kubernetes","cpe":"cpe:/a:redhat:multicluster_engine","status":"affected","packages":["multicluster-engine/addon-manager-rhel9","multicluster-engine/placement-rhel9","multicluster-engine/registration-operator-rhel9","multicluster-engine/registration-rhel9","multicluster-engine/work-rhel9"],"package_count":5,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2026-32946"},{"vendor":"Red Hat","product":"Red Hat OpenShift for Windows Containers","cpe":"cpe:/a:redhat:windows_machine_config","status":"affected","packages":["openshift4-wincw/windows-machine-config-operator-bundle","openshift4-wincw/windows-machine-config-rhel9-operator"],"package_count":2,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2026-32946"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32946.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-32946"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2449438"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-32946"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32946"},{"type":"WEB","url":"https://github.com/step-security/harden-runner/releases/tag/v2.16.0"},{"type":"WEB","url":"https://github.com/step-security/harden-runner/security/advisories/GHSA-g699-3x6g-wm3g"}]}],"references":[{"type":"WEB","url":"https://github.com/step-security/harden-runner/security/advisories/GHSA-g699-3x6g-wm3g"},{"type":"WEB","url":"https://github.com/step-security/harden-runner/releases/tag/v2.16.0"},{"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://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-32946.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-32946"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2449438"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-32946"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-32946","url":"https://www.cve.org/CVERecord?id=CVE-2026-32946","license":"CC-BY-4.0","modified_at":"2026-03-20T15:47:42.018Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-32946","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32946","relation":"self"},{"provider":"osv","source_id":"GHSA-g699-3x6g-wm3g","url":"https://osv.dev/vulnerability/GHSA-g699-3x6g-wm3g","license":"CC-BY-4.0","modified_at":"2026-03-20T21:33:51.432672Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-32946","url":"https://access.redhat.com/security/cve/CVE-2026-32946","license":"CC-BY-4.0","modified_at":"2026-03-24T13:20:06Z","relation":"self"}]}
