CVE-2026-34041 json
act: Unrestricted set-env and add-path command processing enables environment injection
published 2026-03-27 7 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-17287 , GHSA-xmgr-9pqc-h5vw , GO-2026-4891
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/nektos/act 0.2.86
- act_project act 0.2.86
- nektos act 0.2.86
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20260402T184258-150000.1.158.1
suse advisories SUSE-SU-2026:1205-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34041 updated cvss 8.0
act: github.com/nektos/act: act: Privilege escalation and arbitrary code execution via environment variable injection
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 7 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nektos/act/security/advisories/GHSA-xmgr-9pqc-h5vw referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 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 |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/nektos/act | <0.2.86 |
0.2.86 |
Affected products
- nektos act
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/nektos/act/commit/0c739c8e39c41aa5a07665f732da9cab6df0097a
web, patch
-
github.com
/nektos/act/security/advisories/GHSA-xmgr-9pqc-h5vw
web, exploit, mitigation, vendor-advisory, advisory
-
github.com
/nektos/act/releases/tag/v0.2.86
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2026-34041
advisory
-
github.com
/advisories/GHSA-mfwh-5m23-j46w
advisory, web
-
github.com
/nektos/act
package
Sources
- CVE List CVE-2026-34041
- GitHub Advisory GHSA-xmgr-9pqc-h5vw
- NVD CVE-2026-34041
- OSV GO-2026-4891
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.