Read the docs
TI-2024-35247 Aliases CVE-2024-52587GHSA-g85v-wf27-67xc

Harden-Runner has command injection weaknesses in `setup.ts` and `arc-runner.ts`

Priority LOW 21CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.

Summary

StepSecurity's Harden-Runner provides network egress filtering and runtime security for GitHub-hosted and self-hosted runners. Versions of step-security/harden-runner prior to v2.10.2 contain multiple command injection weaknesses via environment variables that could potentially be exploited under specific conditions. However, due to the current execution order of pre-steps in GitHub Actions and the placement of harden-runner as the first step in a job, the likelihood of exploitation is low as the Harden-Runner action reads the environment variable during the pre-step stage. There are no known exploits at this time. Version 2.10.2 contains a patch.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02761 86th percentileScored 2026-11-07
Fix Partial harden-runner (step-security): 2.10.2step-security/harden-runner (GitHub Actions): 2.10.2Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
step-securityharden-runnerbefore 2.10.22.10.2Patch availableCNA
—step-security/harden-runner (GitHub Actions)before 2.10.22.10.2Patch availableGHSA-g85v-wf27-67xc
  • harden-runner Vendorstep-security Affected before 2.10.2 Fixed in 2.10.2 Patch available CNA
  • step-security/harden-runner (GitHub Actions) Vendor— Affected before 2.10.2 Fixed in 2.10.2 Patch available GHSA-g85v-wf27-67xc

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:step_security:harden_runner:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:step_security:harden_runner:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

  • Fix · CNA harden-runner (step-security) Fixed in 2.10.2
  • Fix · GHSA-g85v-wf27-67xc step-security/harden-runner (GitHub Actions) Fixed in 2.10.2 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Trusted Artifact SignerAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-52587
  2. 2026-10-03 Alias added: GHSA-g85v-wf27-67xc

References

  • TI-2026-20705 Bypassing Logging of Outbound Connections Using sendto, sendmsg, and sendmmsg in Harden-Runner (Community Tier) CVSS 4.0MEDIUM 6.3
  • TI-2025-23965 Harden-Runner Evasion of 'disable-sudo' policy CVSS 3.1MEDIUM 6.0
  • TI-2026-25395 Egress Policy Bypass via DNS over HTTPS (DoH) in Harden-Runner (Community Tier) CVSS 4.0MEDIUM 4.6
  • TI-2026-25394 Egress Policy Bypass via DNS over TCP in Harden-Runner (Community Tier) CVSS 4.0MEDIUM 4.6

Sources