CVE-2026-34041
HIGH 7.7CVSS 4.0act: Unrestricted set-env and add-path command processing enables environment injection
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.
- Published
- 31 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-74
- Also known as
- GHSA-xmgr-9pqc-h5vwGO-2026-4891
- Sources
- NVDJSONOSV GHSA-xmgr-9pqc-h5vwJSONOSV GO-2026-4891JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 7.7 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nektos | actcpe:2.3:a:nektos:act:*:*:*:*:*:*:*:* |
< 0.2.86 | 0.2.86 |
| OSV | Go | github.com/nektos/act | < 0.2.86 | 0.2.86 |
References
- https://github.com/nektos/act/commit/0c739c8e39c41aa5a07665f732da9cab6df0097a · Patch, WEB, FIX
- https://github.com/nektos/act/releases/tag/v0.2.86 · Product, WEB
- https://github.com/nektos/act/security/advisories/GHSA-xmgr-9pqc-h5vw · Exploit, Mitigation, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-34041 · ADVISORY
- https://github.com/advisories/GHSA-mfwh-5m23-j46w · ADVISORY, WEB
- https://github.com/nektos/act · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 31 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 Mar 2026)