act: Unrestricted set-env and add-path command processing enables environment injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
act is a project which allows for local running of github actions. Prior to version 0.2.86, act unconditionally processes the deprecated ::set-env:: and ::add-path:: workflow commands, which was disabled due to environment injection risks. When a workflow step echoes untrusted data to stdout, an attacker can inject these commands to set arbitrary environment variables or modify the PATH for all subsequent steps in the job. This issue has been patched in version 0.2.86.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| nektos | act | before 0.2.86 | 0.2.86 | Patch available | CNA |
| — | github.com/nektos/act (Go) | before 0.2.86 | 0.2.86 | Patch available | GHSA-xmgr-9pqc-h5vw |
- act Vendornektos Affected before 0.2.86 Fixed in 0.2.86 Patch available CNA
- github.com/nektos/act (Go) Vendor— Affected before 0.2.86 Fixed in 0.2.86 Patch available GHSA-xmgr-9pqc-h5vw
Remediation
- Fix · CNA act (nektos) Fixed in 0.2.86
- Fix · GHSA-xmgr-9pqc-h5vw github.com/nektos/act (Go) Fixed in 0.2.86 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34041
- 2026-10-03 Alias added: GHSA-xmgr-9pqc-h5vw
- 2026-10-25 EPSS moved to the below the 50th percentile
- 2026-10-28 EPSS moved to the 50th–90th percentile
References
Advisory 2
Sources
- CVE-2026-34041 · CVE Program
- CVE-2026-34041 · NVD
- FIRST EPSS
- GHSA-xmgr-9pqc-h5vw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-34041 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences